Skip to main content
Version: 7.9

system.date.fromMillis

This function is used in Python Scripting.

Description

Creates a date object given a millisecond value

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.date.fromMillis(millis)

Parameters

TypeParameterDescription
LongmillisThe number of milliseconds elapsed since January 1, 1970, 00:00:00 UTC (GMT)

Returns

Date - A new date object

Scope

All

Code Examples

Example #1
# This example will print out the date "Fri Aug 18 14:35:25 PDT 2017"
print system.date.fromMillis(1503092125000)