You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

the function returns the NUMBER of the day of the week in a timestamp represented by the numeric value t, in a certain time_zone.

with Sunday = 1, Monday = 2, ... Saturday = 7.

Syntax
 dayOfTheWeek(number t, timeZone time_zone) #Output: Number