PHP » GoLang |
login |
register |
about
|
Description
array strptime
( string
$date
, string $format
)
strptime() returns an array with the
Month and weekday names and other language dependent strings respect the
current locale set with setlocale() ( Parameters
Return Values
Returns an array or
Examples
Example #1 strptime() example
<?phpThe above example will output something similar to:
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] =>
)
Notes
See Also
|
more
Most requested
more
Last requests
|