strptime

PHP 5 >= 5.1.0, PHP 7, PHP 8
strptime - Parse a time/date generated with strftime

Example #1 strptime example

Result: 03/10/2004 15:54:19 Array ( [tm_sec] => 19 [tm_min] => 54 [tm_hour] => 15 [tm_mday] => 3 [tm_mon] => 9 [tm_year] => 104 [tm_wday] => 0 [tm_yday] => 276 [unparsed] => )
PHP Version:


Example #2 of strptime

PHP Version:


Function strptime:

Date and Time Functions

Most used PHP functions