Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  

Time.TimeZoneOffset

Queries time zone offset.

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

Parameters

Parameter Description Example value
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

Blog Entries

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


Time.TimeStampToUTC   -   Time.UnixTimeStamp

Feedback: Report problem or ask question.




Links
MBS FileMaker blog