Scoped GlideDate - getValue()

Gets the date value stored in the database by the GlideDate object in the internal format, yyyy-MM-dd, and the system time zone, UTC by default.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String The date value in the internal format and system time zone.
var gd =new GlideDate();

Output: 2015-01-01