Scoped GlideDate - getDisplayValueInternal()

Gets the display value in the internal format (yyyy-MM-dd).

Table 1. Parameters
Name Type Description
none
Table 2. Returns
Type Description
String The date values for the GlideDate object in the current user's time zone and the internal time format of yyyy-MM-dd.
var gd =new GlideDate(); 
gs.info(gd.getDisplayValueInternal());

Output: 2014-10-22