Scoped GlideDateTime - getDayOfWeekLocalTime()

Gets the day of the week stored by the GlideDateTime object, expressed in the user's time zone.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Number The day of week value, in the user's time zone, from 1 to 7. Monday equals 1, Sunday equals 7.
var gdt = new GlideDateTime("2011-12-01 12:00:00");//Thursday;