System variable for day of the week?

Is $dayOfWeek —is Sunday considered 7 or 1?

Given that Wednesday is $dayOfWeek = 3, I’d say Sunday is 0

1 Like