|
IntlDateFormatter::parsedatefmt_parseParse string to a timestamp value DescriptionObject oriented style
public int IntlDateFormatter::parse
( string
$value
[, int &$position
] )Procedural style
int datefmt_parse
( IntlDateFormatter
$fmt
, string $value
[, int &$position
] )Converts string $value to an incremental time value, starting at $parse_pos and consuming as much of the input value as possible. Parameters
Return Values
timestamp parsed value, or ExamplesExample #1 OO example
<?php Example #2 datefmt_parse example
<?php The above example will output: First parsed output is 630201600 Second parsed output is 630201600 See Also
|