PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::parse
request it (369)
GoLang replacement for PHP's IntlDateFormatter::parse
[edit | history]
IntlDateFormatter::parsedatefmt_parse(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::parse -- datefmt_parse — Parse string to a timestamp value DescriptionObject oriented style
public int IntlDateFormatter::parse
( string
$value
[, int &$position
] )Procedural style 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
|
more
Recently updated
more
Most requested
more
Last requests
|