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.-
The dates for Easter, Ash Wednesday, Lent, Ascension day, Whitsun, Trinity, Corpus Christi and Sacred Heart, can be determined.
-
A period of time can be subtracted from any date and the difference between two dates can be calculated.
-
The goal of Format timestamp is to simplify the manipulation of date and time values that are used in calculations and later are stored in database fields.With Format timestamp is it possible to convert a date and time field into a (ISO or UNIX) timestamp and vice-versa. The date and time values are validated before converting them.
-
The specified time offset can be in days, months and years.The calculated date is stored in separate class variables for the resulting day, month and year. It is also returned as an array with the three date values.
-
A calendar array is generated from a specified year an month.The generated calendar array is two dimensional:- The first dimension represents the week. - The second dimension represents the days of the week, so it always have 7 positions, one for each day of the week.The array positions of days of the first or last weeks of the month that ...
-
Find date takes a date formatted in any valid date format and can add or subtract a given number of days.The date gets returned formatted as dd.mm.yy.Requirements: PHP 5.0 or higher
-
Start, stop, pause, unpause and rest functions are provided for controlling the timer. A "running time" can be obtained without stopping the timer.Deathead's Timer is very user-friendly and offers its own error system.
-
A timestamp is taken as argument and used to build the string of words spelling the time in English.Requirements: PHP 5.0 or higher
-
unixDate can take a given date and format it calling the UNIX shell date command. Parameters can be passed to the date command in order to add or subtract periods of time, such as years, months, day, hours, minutes and seconds.Requirements: PHP 5.0 or higher
-
The microtime() function is used to measure the execution time.Requirements: PHP 3.0 or higher
-
TimeTaMeR uses the PHP time and date functions to determine the server time zone, server time and GMT time.A Javascript can set a cookie with the time on the Web user machine. The class reads that cookie to determine the Web user machine timezone offset comparing the Web user machine time with GMT time, considering eventual day light savings time ...
-
The components of a date, formatted according to a specified pattern, are extracted.Ultimate Date Parser can also perform other data manipulation operations like calculating the number of days between two dates, reformat a date with a new format pattern, adjust a time value according to the local time zone, and compare two dates.Requirements: PHP 5.0 or higher
-
uptime only works under Linux and makes use of the /proc/uptime command.
-
SQL Time is a simple class that converts date and time values between the ISO format (YYYY-MM-DD hh:mm:ss) used by SQL databases (DATE, TIME, DATETIME) and timestamps used in Unix systems.SQL Time converts ISO date and time strings guessing their type according to the string length.
-
A legend can optionally be displayed next to the clock.

