|
IntlDateFormatter::getTimeTypedatefmt_get_timetypeGet the timetype used for the IntlDateFormatter BeschreibungObjektorientierter Stil
public int IntlDateFormatter::getTimeType
( void
)
Prozeduraler Stil
int datefmt_get_timetype
( IntlDateFormatter
$fmt
)Return time type used by the formatter. Parameter-Liste
RückgabewerteThe current date type value of the formatter. BeispieleBeispiel #1 datefmt_get_timetype example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: timetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now timetype of the formatter is : 3 Second Formatted output is Wednesday, December 31, 1969 4:00 PM Siehe auch
|