Description Usage Arguments Value
This function allows the conversion between solar date and lunar date.
1 |
x |
date to convert, can be solar date or lunar date. Date object is converted to lunar date. Vector with the format of lunar date is converted to solar date. |
toString |
format the output lunar date to Chinese string (Traditional Chinese) |
withZodiac |
Append the Chinese Zodiac sign to the string output of lunar date |
ignoreLeap |
ignore leap month when the converted lunar date can have a leap month |
Date object (solar date) or lunar date, depends on the input x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.