Source Code Online Home Categories Top Code New Code Submit Code
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
noFormDate 0.8.3
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
A Couple of Useful Classes 1.0
Active Calendar 0.7.1
Chinese calendar converter 0.0.1
Date and time a file was last accessed 1.0
Holiday Calculations 1.01
iCalendar 1.001
noFormDate 0.8.3
Number of days between now and a day in the future 1.0
PHP DateDiff Function 1.0
Website LastUpdatedTrick Function 1.0
PHP > Functions and Classes > Date and Time
Source List

Code 1-10 of 10   


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.



This class takes your Unix timestamp from PHP's time() or a stored value and makes standard XHTML 1.0 compliant drop-boxes with current year, month, day, hour, minute and second selected. It also puts it back to a timestamp for you to use.



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.