Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Time.TimeZoneOffset

Queries time zone offset.

Component Version macOS Windows Linux Server iOS SDK
Time 9.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Time.TimeZoneOffset"; AsText )   More

Parameters

Parameter Description Example
AsText Pass 1 to get back time zone as text like "+03:00".
Otherwise default is zero to return as number of seconds.
1

Result

Returns value or error.

Description

Queries time zone offset.
Returns either seconds or formatted text.

Time zone changes on Windows don't take effect until you restart FileMaker. For MacOS, the functions notice the changes in system automatically.

Examples

Query time zone as text:

MBS( "Time.TimeZoneOffset"; 1 )

Example result: "+01:00"

Query time zone as number:

MBS( "Time.TimeZoneOffset"; 0 )

Example result: 3600

Release notes

Blog Entries

This function is free to use.

Created 20th February 2019, last changed 20th February 2019


Time.TimeStampToUTC - Time.UnixTimeStamp