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 estimated download time is displayed in hours, minutes and seconds.Estimated Download Time also provides an utility functions to retrieve the size of a given file and also to convert a file size in bytes to KB, MB or GB.
-
The initial and end years, as well as the months and days are passed as parameters. List Days returns an associative array with all valid dates between the initial and end dates.Requirements: PHP 4.0 or higher
-
The geographic coordinates and time zone of the location are taken as parameters. Sun - set, rise, dawn, dusk can compute and return the time of the location's sunset, sunrise, dusk and dawn.Requirements: PHP 3.0 or higher
-
A specified number of days, months and years can be added to the current date.The resulting date can be returned as an associative array with entries for the date with a given format, as Unix timestamp, and also separating the year, month and day components.
-
Salat takes the date of the year and the geographic coordinates of a location and returns an array with the local time on which obligatory prayers should occur.The mandatory prayers are: Fajr, Zuhr, Asr, Maghrib and Isha.Requirements: PHP 5.0 or higher
-
Connection base de donnée avec PDO establishes a database connection to a MySQL database. It automatically sets the connection to use buffered queries. It can also execute SQL queries that are automatically encapsulated in transactions.Connection base de donnée avec PDO can execute SQL SELECT queries and return the results into a single array within the same call. It can also ...
-
Timer can be used to measure how long it took for a page to be interpreted by the php engine.
-
date can determine whether a specified year is bissextile or not.Key Features of date:- Compute the number of days since a given date and the beginning or end of the year- Calculate the time between two dates in years, months or days- Return the name of the month or day of the week of a given date- Check whether a ...
-
An amount of days can be added to or subtracted from a specified date. c_date can also calculate the difference of days between two dates, returning fractions of days as result. Use the round() or floor() to eliminate fractions.Limitations: c_date uses the strtotime() function to convert the dates into 32 bit integer timestamp values to perform the calculations. Therefore, c_date ...
-
Clase DateTimeManager takes as parameter a date with time in the ISO format as it is used also by MySQL. It can take an empty date string to specify the current date and time.A value of years, months, days, hours, minutes or seconds can be added or subtracted from the specified date. The resulting date is returned in the ISO ...
-
The difference of time between two given dates is stored in separate class variables as days, hours, minutes and seconds.Requirements: PHP 5.0 or higher
-
Date and time can be converted from 24hr format to am/pm, etc..
-
The count of time can be started or stopped at any point during the script execution. The measured time is returned in seconds with micro-second resolution.Requirements: PHP 4.0 or higher
-
Date & Time can be useful for forms where drop-downs are used to select time or dates.One method of Date & Time can be used to generate a select on the form and initialize its value by any variables. It can also check if the date is correct or empty, and get UNIX timestamp and date/time entered.
-
Crontab entries for a specified user can be added, deleted or updated. Comments and special commands (DAILY, WEEKLY, etc..) are supported.

