Scoped GlideDateTime - getNumericValue()

Gets the number of milliseconds since January 1, 1970, 00:00:00 GMT.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Number The number of milliseconds since January 1, 1970, 00:00:00 GMT.
var gdt = new GlideDateTime("2011-08-31 08:00:00");
gs.info(gdt.getNumericValue());

Output: