Creates a new DateTime object from the number of milliseconds since Jan 1st 1970.
Namespace: MindFusion.Common
Assembly: Common.js
JavaScript
![]() |
---|
function fromMilliseconds (milliseconds) |
Type: Number
The number of milliseconds since Jan 1st 1970;
Type: DateTime
The new DateTime object.
If a DateTime object was not possible to be created from the provided argument, the return value will be null.