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 PHP version of VBScript's DateDiff function.
This function will calculate someone's age given their date of birth.
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 PHP class that you can use to measure page load time. Example is included.
This PHP class can be used to generate a nice, template-driven date picker in a pop-up window. The class will generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from a calendar. The selected date will be passed to a user-specified control from the caller page.
This handy PHP function will convert nearly any English date format to any other date format.
A class to measure time intervals in microseconds. You can take times during a code run and at the end get a time table as HTML or text.
This class can show the time left before a specified time and date in different formats. You can specify the time and date in seconds, minutes, hours, days, weeks, months and years. The class will return the remaining time formatted as you specify.
A library of PHP functions for calculating US holidays (non-US holidays could easily be added), including actual/observed days, Easter Sunday, and more.
This function displays a calendar page of the chosen month and year. The function takes a date object as its only parameter. It will default to the date on the server.
One line of code that will show when a file was last accessed.
This class can be used to display monthly calendars that can be browsed using Ajax to avoid reloading the page. Days can be displayed as links to event pages and the browsing can be restricted to given dates. Month and day names are customizable.
A simple to use, versatile calendar generation class that outputs semantic and valid XHTML that is ready to style with your custom CSS. Display the current month with a selected day and today marked, and pass in an array of dates to highlight. Easily loop calender output to display multiple months or years at a time.
Instead of showing a specific date, this function will date your last update just a few days back.
This class displays a month at a time and allows you to move forwards and backwards between months, with individual days in a month optionally linked.
This will calculate and show how many days there are from the current date to a date in the future that you define.