GlideDateTime - setNumericValue(Number milliseconds)

Sets the date and time to the number of milliseconds since January 1, 1970 00:00:00 GMT.

Table 1. Parameters
Name Type Description
milliseconds Number The number of milliseconds
Table 2. Returns
Type Description

Scoped equivalent

To use the setNumericValue() method in a scoped application, use the corresponding scoped method: setNumericValue().

var gdt = new GlideDateTime();

Output: 2011-08-31 08:00:00