|
IntlDateFormatter::setTimeZoneIddatefmt_set_timezone_idSets the time zone to use Warnung
This function was DEPRECATED in PHP 5.5.0, and REMOVED in PHP 7.0.0. Alternatives to this function include:
BeschreibungObjektorientierter Stil
public bool IntlDateFormatter::setTimeZoneId
( string
$zone
)Prozeduraler Stil
bool datefmt_set_timezone_id
( IntlDateFormatter
$fmt
, string $zone
)Sets the time zone to use. Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Changelog
BeispieleBeispiel #1 datefmt_set_timezone_id example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: timezone_id of the formatter is : America/Los_Angeles Now timezone_id of the formatter is : CN Siehe auch
|