dayOfWeekAsString

Determines the day of the week as a string from 1-7

dayOfWeekAsString(day_of_week) → returns string

dayOfWeekAsString Argument Reference

day_of_week numeric
Required

Only values from 1 to 7 are valid.
Week starting with 1 for Sunday and ends with 7 for Saturday.
Values:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Examples sample code invoking the dayOfWeekAsString function


Get Sunday

dayOfWeekAsString(1)

Expected Result: Sunday


Fork me on GitHub