IntlDateFormatter::localtime()

string localtime(string $value, int $position)

Not supported. Parse string to a field-based time value.

Parameters

string $value String to convert to a time value
int $position Position at which to start the parsing in $value (zero-based) If no error occurs before $value is consumed, $parsepos will contain -1 otherwise it will contain the position at which parsing ended. If $parsepos > strlen($value), the parse fails immediately.

Return Value

string Localtime compatible array of integers: contains 24 hour clock value in tm_hour field

Exceptions

MethodNotImplementedException

See also

http://www.php.net/manual/en/intldateformatter.localtime.php
doc_Symfony
2016-10-28 06:21:38
Comments
Leave a Comment

Please login to continue.