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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Returns the unix time stamp.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Utility 3.1 Yes Yes Yes Yes Yes
MBS( "Time.UnixTimeStamp" { ; timestamp } )   More


Parameter Description Example value
timestamp Optional
Optional, a FileMaker timestamp to convert.


Returns time stamp as number.


Returns the unix time stamp.
If called with no parameters, returns current time stamp (GMT).
If you pass a timestamp, this timestamp is converted. Be aware that the system timezone is used.

Convert back to FileMaker with Time.UnixTimeStampToFileMaker function.


Calc current time:

MBS( "Time.UnixTimeStamp"; Get(CurrentTimeStamp) )

Example result: 1481452626

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 31st May 2018

Time.TimeStampToUTC   -   Time.UnixTimeStampToFileMaker

Feedback: Report problem or ask question.

MBS Xojo Plugins