Search Results
strtotime (PHP 4, PHP 5, PHP 7, PHP 8) strtotime — Parse about any English textual datetime description into a Unix timestamp
- Date
Parameters ¶ format Format accepted by...
- Microtime
microtime () returns the current Unix timestamp with...
- Strtotime - Manual
strtotime (PHP 4, PHP 5, PHP 7, PHP 8) strtotime — 将任何英...
- Mktime
Returns the Unix timestamp corresponding to the arguments...
- Date
Oct 3, 2005 · The strtotime () function parses an English textual datetime into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 GMT). Note: If the year is specified in a two-digit format, values between 0-69 are mapped to 2000-2069 and values between 70-100 are mapped to 1970-2000.
- Required. Specifies a date/time string
Jul 11, 2025 · The strtotime () function is a built-in function in PHP which is used to convert an English textual date-time description to a UNIX timestamp. The function accepts a string parameter in English which represents the description of date-time.
The strtotime() function accepts a date/time string, with textual date/time values and parses it as an Unix timestamp. PHP strtotime() function returns a timestamp value for the given date string.
Dec 27, 2023 · But PHP‘s strtotime () function makes it far easier for you – allowing flexible parsing, calculation and conversion of date values with ease. In this comprehensive guide, you‘ll unlock the full power of strtotime () to simplify all your date and time representations, arithmetic, and conversions between textual and numeric formats.
strtotime Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8 Parse about any English textual datetime description into a Unix timestamp
People also ask
What is strtotime() function in PHP?
What is strtotime ()?
Why is strtotime so important?
What is the range of a timestamp in PHP?
OUJOOD.COM PHP cours tutorial La fonction strtotime () Version : PHP 4, PHP 5, PHP 7, PHP 8 La fonction de php strtotime () analyse une date ou une heure textuelle anglaise ( au format anglaise) en timestamp La fonction strtotime () essaye de lire une date au format anglais US dans la chaîne time, et de la transformer en timestamp Unix (le nombre de secondes depuis le 1er Janvier 1970 à 00: ...
