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.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  


Queries current time as double value.

Component Version macOS Windows Linux Server iOS SDK License
JavaScript 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid
MBS( "JS.Now"; JSRef )   More


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

Release notes

Blog Entries

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

JS.New - JS.ObjectCount

Feedback: Report problem or ask question.

Start Chat