PHP Date & Time
Free and open source Date & Time Scripts. These Scripts mainly deal with the time and date in php also database and make the date & time output a easy way.-
Text to Timestamp is a specified string with a relative time expression in English like "x time ago" can be parsed into a time value. Requirements: PHP 5.0 or higher
-
A timer can be started and stopped several times with the script Simple Profiler.The Simple Profiler stores the time it took between the timer start and stop moments and associate a description to each timed period.Then it can display the different timed intervals in an HTML table.Requirements: PHP 5.0 or higher
-
GMT Converter can look-up a MySQL database table for time zone offsets relative to GMT given the zone identifier.GMT Converter can convert date and times between zones based on offsets retrieved from the database.Requirements: PHP 4.0 or higher
-
Simple benchmark can take note of time when it starts and ends a given PHP script named section. The time elapsed since the beginning to the end of a section can also be returned. Requirements: PHP 5.0 or higher
-
microtime can start measuring the time at any point of a PHP script taking note of the current time in microseconds. Once time measuring is stopped, the time that elapsed since the beginning is returned. Requirements: PHP 4.0 or higher
-
The Country Date takes a given time zone identifier and set it to be the current time zone. The date and time values for the specified time zone can be retrieved. Requirements: PHP 5.0.5 or higher
-
Several operations to manipulate and display dates can be performed. Currently IDDateTime can return a given time in seconds to days, hours, minutes and seconds, return the current date and time, and generate HTML with Javascript that shows the current time on the browser side. Requirements: PHP 5 or higher
-
MoonPhase takes a given day, month and year and determines the phase of the Moon for that day. It can also compute the distance of the Moon to the Earth. HTML code used to display a picture representing the computed Moon phase, can also be generated. Requirements: PHP 5.0 or higher
-
Around 200 time zones are supported in Timezone Converter. Requirements: PHP 4.0 or higher
-
Count Hour Class can compute the difference of two time periods in seconds. The output can be formatted to display the time difference in hours, minutes and seconds. Requirements: PHP 3 or higher
-
Date PNG opens a given template image in PNG format and renders a text with given time in one or more formats. Parameters such as font, size, position, angle and color of the text can be configured. The resulting image is generated in the PNG format as the current script output. Requirements: PHP 5.0 or higher
-
Manage Time takes as parameter a date and time representation in either the formats: timestamp, datetime or date. It can convert the input date and time into one of the three formats mentioned and the output is stored in class variables. Requirements: PHP 5.0 or higher
-
Validate-Calculate Age takes a day, month and year as parameters and determines whether it corresponds to a valid date. Validate-Calculate Age is also able to calculate the relative age of an entity that was born on the given date. Requirements: PHP 5 or higher
-
ddate is a port from the original C code, performed on Prickle-Prickle, the 26th day of Discord in the YOLD 3168.
-
The number is not only calculated by simply checking if the date is between days 1 to 15 or 16 to 31 and then multiplying by the month number, but also based on the number of days since January 1st.


