IntlTimeZone::getWindowsID

(PHP 7 >= 7.1.0)

IntlTimeZone::getWindowsIDTranslate a system timezone into a Windows timezone

说锟斤拷

public static IntlTimeZone::getWindowsID ( string $timezone ) : string

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

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

Warning

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

锟斤拷锟斤拷

timezone

锟斤拷锟斤拷值

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

锟轿硷拷