system.date.fromMillis
Description
Creates a date object given a millisecond value
Syntax
system.date. fromMillis(millis )
-
Parameters
Long millis- The number of milliseconds elapsed since January 1, 1970, 00:00:00 UTC (GMT)
-
Returns
Date - A new date object
-
Scope
All
Code Examples
Code Snippet
#This example will print out the date "Fri Aug 18 14:35:25 PDT 2017"
print
system.date.fromMillis(
1503092125000
)