Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Time.UnixTimeStamp

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 } )

Parameters

Parameter Description Example value
timestamp Optional
Optional, a FileMaker timestamp to convert.
Get(SystemTimeStamp)

Result

Returns time stamp as number.

Description

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.

Examples

Calc current time:

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

Example result: 1481452626

See also

Example Databases


Time.TimeStampToUTC   -   Time.UnixTimeStampToFileMaker

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins