Search
New Code
Website LastUpdatedTrick Function 1.0
PHP DateDiff Function 1.0
Number of days between now and a day in the future 1.0
iCalendar 1.001
Chinese calendar converter 0.0.1
Holiday Calculations 1.01
Date and time a file was last accessed 1.0
Active Calendar 0.7.1
A Couple of Useful Classes 1.0
Top Code
PHP DateDiff Function 1.0
Number of days between now and a day in the future 1.0
Date and time a file was last accessed 1.0
Chinese calendar converter 0.0.1
Website LastUpdatedTrick Function 1.0
Active Calendar 0.7.1
A Couple of Useful Classes 1.0
iCalendar 1.001
Holiday Calculations 1.01
PHP > Functions and Classes > Date and Time

Code 1-9 of 9   






Instead of showing a specific date, this function will date your last update just a few days back.



A PHP version of VBScript's DateDiff function.



This will calculate and show how many days there are from the current date to a date in the future that you define.



Generates ics files for importing events into iCalender compatible programs.



This function can return the date of the Chinese lunar calendar corresponding to the Gregorian calendar. It ranges from Jan 1st, 1901 to Feb 11th, 2021.



A library of PHP functions for calculating US holidays (non-US holidays could easily be added), including actual/observed days, Easter Sunday, and more.



One line of code that will show when a file was last accessed.



A class that generates calendars as HTML tables. It supports calendar generation for the years 1971-2037 and can produce static calendars calendars with navigation controls, a date picker and linked days.



A couple of classes for holding locations and dates. The date classes calculate an elapsed time that takes dates (including leap years) into account. The location class will generate Google, MapQuest and MSDN map URLs from the location.