TimeDayofWeek

 

Using the WIL language it is possible to grab the day of the week. The following example from TimeJulianDay grabs the current time and day of the week.

Example:
;This example grabs the Time/Day of the Week.
a=TimeYmdHms( )
b=TimeJulianDay(a)
c=(b+5) mod 7
day=ItemExtract(c+1, "Sun Mon Tue Wed Thu Fri Sat", " ")
line=StrCat("Julian Date-> ", b,@crlf,"Day of week-> ",day)
Message(TimeDate( ), line)
See Also:

TimeDayofYear, TimeJulianDay