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: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Queries current time as double value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JavaScript 10.1 Yes Yes Yes Yes Yes
MBS( "JS.Now"; JSRef )   More


Parameter Description Example value
JSRef The JavaScript reference number. $js


Returns number or error.


Queries current time as double value.
This is seconds since 1st January 1970 multiplied by 1000 and may contain fraction with microseconds.

Get current time in POSIX milliseconds, as seen by the ECMAScript environment. The return value matches with the reservation that sub-millisecond resolution may be available.


Query current time:

MBS( "JS.Now"; $$JS )

Example result: 1579438706835.8249512

See also

Blog Entries

Release notes

Created 19th January 2020, last changed 19th January 2020

JS.New   -   JS.ObjectCount

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins