Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries current time as double value.

Component Version macOS Windows Linux Server iOS SDK
JavaScript 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
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

This function checks for a license.

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

JS.New - JS.ObjectCount