Scoped GlideDateTime - getDisplayValueInternal()

Gets the display value in the internal format (yyyy-MM-dd HH:mm:ss).

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String The date and time values for the GlideDateTime object in the current user's time zone and the internal date and time format of yyyy-MM-dd HH:mm:ss.
var gdt = new GlideDateTime("2011-08-31 08:00:00");; //uses current user session time zone (US/Pacific)