Home JS special effects time date Gregorian lunar calendar plug-in xp

Gregorian lunar calendar plug-in xp

Gregorian lunar calendar plug-in xp

Gregorian lunar calendar plug-in xp

You can choose the Gregorian calendar or the lunar calendar to fill in the input box

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

How to convert lunar calendar to Gregorian calendar in php How to convert lunar calendar to Gregorian calendar in php

22 Jul 2020

Implementation method of converting lunar calendar to Gregorian calendar in PHP: first obtain a PHP date and time operation class "Lunar"; then save the "Lunar" related code as a "Lunar.class.php" file; finally use the "convertLunarToSolar();" method to implement the lunar calendar conversion The Gregorian calendar will do.

How to convert Gregorian calendar date to lunar calendar in Excel How to convert Gregorian calendar date to lunar calendar in Excel

17 Apr 2024

Take the following table as an example. The left side is the Gregorian calendar and the right side is the lunar calendar. Fill in the function formula in the lunar calendar cell. =TEXT(A2,"[$-130000]yyyy-m-d") where A2 represents the Gregorian calendar cell to be converted, yyyy-m-d represents the format of the converted date, and [$-130000] is the key to lunar calendar conversion. Finally press Enter and fill it in. If you think the format of this lunar calendar is not good-looking and does not have the characteristics of traditional Chinese display, then the formula can be changed: =TEXT(A2,"[$-130000]yyyy year m month"&IF(LEN(--TEXT(A2, "[$-130000]dd"))=1,"春","")&"

How to convert Gregorian calendar to lunar calendar in php How to convert Gregorian calendar to lunar calendar in php

04 Sep 2020

Implementation method of converting Gregorian calendar to lunar calendar in PHP: first create a PHP sample file and set the encoding of the file to "utf-8"; then introduce "lunar.php"; then use the "$lunar->convertSolarToLunar()" method to convert the Gregorian calendar Just convert to lunar calendar.

How to convert Gregorian calendar to lunar calendar in php? How to convert Gregorian calendar to lunar calendar in php?

11 Jul 2020

How to convert the Gregorian calendar to the lunar calendar in PHP: Get the zodiac sign and the number of days in the lunar month according to the lunar calendar year. The code is [$month=$lunar->convertSolarToLunar(2013,07,08)].

Introduction to the method of converting between the Gregorian calendar and the lunar calendar in PHP Introduction to the method of converting between the Gregorian calendar and the lunar calendar in PHP

15 Sep 2017

This article mainly introduces the relevant information on converting Gregorian calendar dates and lunar calendar dates in PHP. I hope this article can help everyone. Friends in need can refer to it.

Chinese pinyin conversion and Gregorian and lunar calendar conversion classes and usage examples implemented in PHP_PHP tutorial Chinese pinyin conversion and Gregorian and lunar calendar conversion classes and usage examples implemented in PHP_PHP tutorial

13 Jul 2016

Chinese pinyin conversion and Gregorian and lunar calendar conversion classes and usage examples implemented in PHP. This article has compiled two functional files for PHP Chinese character pinyin conversion and Gregorian and lunar calendar conversion, which are very practical. For example, when we search the address book, we can search by the pinyin initials of the contact's name.

PHP date and time, PHP date and time_PHP tutorial PHP date and time, PHP date and time_PHP tutorial

12 Jul 2016

PHP date and time, PHP date time. PHP date and time, PHP date and time 1. date string date ( string $format [, int $timestamp ] ) echo date('Y') . 'br/';// 2016 echo date('y') . 'br /';// 16 echo '------br/'; echo

How to modify the time in linux How to modify the time in linux

06 Jun 2019

Linux time modification commands: 1. date command: view the current time; 2. date -s hours, minutes and seconds: modify the time; 3. date -s complete date and time (YYYY-MM-DD hh:mm[:ss]): modify the date ,time.

php generate age based on date of birth php generate age based on date of birth

23 Nov 2016

<?php $birthday = '1985-02-01'; $age = date('Y', time()) - date('Y', strtotime($birthday)) - 1; if (date('m', time()) == date('m', strtotime($birthday))){ if (date('d', time()) > date('d ...

See all articles See all articles