Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  

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

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


Time.TimeStampToUTC - Time.UnixTimeStamp

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat