timezones([$tz = ''])
Parameters: |
|
---|---|
Returns: |
Hour difference from UTC |
Return type: |
int |
Takes a timezone reference (for a list of valid timezones, see the “Timezone Reference” below) and returns the number of hours offset from UTC.
Example:
echo timezones('UM5');
This function is useful when used with timezone_menu()
.
Please login to continue.