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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Converts time to date components.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JavaScript | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
JSRef | The JavaScript reference number. | $js |
Time | The time value. | 1579438861538 |
Returns JSON or error.
Query date components for now:
MBS( "JS.TimeToDateComponents"; $$JS; MBS( "JS.Now"; $$JS ))
Example result:
{
"year": 2020,
"month": 1,
"day": 19,
"hours": 12,
"minutes": 59,
"seconds": 13,
"milliseconds": 806,
"weekday": 0,
"timezone": "UTC",
"weekdayText": "Sunday"
}
This function checks for a license.
Created 19th January 2020, last changed 19th January 2020