int dayOfWeek()
Returns the day of the week represented by this date. The returned value (1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday) represents the day of the week that contains or begins with the instant in time represented by this date, as interpreted in the local time zone.
Input Parameters
Return Value
Integer The day of week for this date. |