Index PHPmyEasyWeather PHPmyEasyWeather Homepage

getTimeZone

getTimeZone -- return name of timezone for a GMT deviation

Description

string getTimeZone (float $GMTdeviation);

getTimeZone returns the name (full and acronym) of the timezone for a given GMT deviation in the format: e.g. "EST; Eastern Standard Time".

It expects the deviation to GMT as a float e.g. -3.5

If the indicated deviation is not reported getTimeZone will return false.


Previous Up Next