- Getting the Zodiac sign (星座) of a date
- Getting the symbolic animal (生肖) of a date
- Calculating the age (年龄)
- Calculating the years matching the symbolic animal within a range of years (or ages)
- Calculating the year of birth from actual age, where age increment is on the birthday
- Calculating no. of days since born
- Calculating no. of days to the next birthday
- Calculating no. of days from the last birthday
- Check whether this year's birthday has already passed
- Check whether a date has passed Chinese New Year of the year
- Getting the Chinese New Year date of a year (range from 1876 to 2163)
ppfoong/lib_birthday
PHP functions related to birthday - Zodiac sign (星座), symbolic animal (生肖), age (年龄), and more...
PHPMIT