Scoped GlideDate - getDisplayValue()

Gets the date in the current user's display format and time zone.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String The date in the user's format and time zone. Keep in mind when designing business rules or script includes that this method may return values in different formats for different users.
var gd =new GlideDate(); 

Output: 2015-01-01