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