PHP Calendar Functions Complete Reference
The calendar extension contains a series of functions to represent the calendar date into a different format. The standard date is based on Julian Day Count. The date count starting from January 1st, 4713 B.C. is known as Julian Day Count. First, the date is converted into Julian Day Count and then converted into a calendar system.
Example: The program below illustrate the use of jdtofrench() function.
= frenchtojd(1, 7, 13);
"The julian day integer is "
"The french date initially taken was "
The julian day integer is 2380229
The french date initially taken was 1/7/13
The complete list of calendar functions are given below:
|PHP Calendar Functions
||Return the number of days in a month for a specific year.
||Returns the array containing calendar information of the specified calendar.
||Return information about a specified calendar.
||Convert a specified date into Julian Day Count.
||Returns the Easter date in the year passed as an argument.
||Returns the number of days after March 21, that the Easter Day is in the given year
||Convert the date in the French republican calendar and converts it to a Julian Day count.
||Converts a Gregorian date to a Julian Day Count.
||Returns the given day of the week of a Julian integer passed in the argument.
||Returns the month name of a Julian day number passed as the argument.
||Converts a Julian Day Integer to a French date.
||Converts a Julian Day Integer to a Gregorian date.
||Convert a Julian day count to a Julian calendar date.
||Convert a Julian day date into a Unix Timestamp.
||Converts a Jewish Date to a Julian Day Count.
||Convert Julian calendar Date to Julian Day count
||Converts the Unix timestamp to Julian Day count.
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!