IntlTimeZone::getIDForWindowsID

(PHP 7 >= 7.1.0)

IntlTimeZone::getIDForWindowsIDTranslate a Windows timezone into a system timezone

说锟斤拷

public static IntlTimeZone::getIDForWindowsID ( string $timezone [, string $region ] ) : string

Translates a Windows timezone (e.g. "Pacific Standard Time") into a system timezone (e.g. "America/Los_Angeles").

Note: This function requires ICU version 锟斤拷 52.

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

timezone

region

锟斤拷锟斤拷值

Returns the system timezone 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

锟轿硷拷