|
IntlDateFormatter::parsedatefmt_parseParse string to a timestamp value BeschreibungObjektorientierter Stil
public int IntlDateFormatter::parse
( string
$value
[, int &$position
] )Prozeduraler Stil
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. Parameter-Liste
Rückgabewerte
timestamp parsed value, or BeispieleBeispiel #1 OO example
<?phpBeispiel #2 datefmt_parse example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: First parsed output is 630201600 Second parsed output is 630201600 Siehe auch
|