Name
strptime
Synopsis
array strptime(stringdate
, stringformat
)
Parses a time and date according to the
format
string and the current locale. The
format uses the same format as strftime()
. Returns an associative array
with information about the parsed time containing the following
elements:
| Seconds |
| Minutes |
| Hours |
| Day of the month |
| Numeric day of the week (Sunday is 0) |
| Month |
| Year |
| Day of the year |
| The portion of
|
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.