dayOfWeekShortAsString

Returns the first three letters of the day of the week passed to the function

dayOfWeekShortAsString(day_of_week [, locale]) → returns string

This function requires Lucee. Not supported on Adobe ColdFusion.

dayOfWeekShortAsString 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

locale string

Examples sample code invoking the dayOfWeekShortAsString function

dayOfWeekShortAsString(1)

Expected Result: Sun

dayOfWeekShortAsString(1,"fr")

Expected Result: dim.


Fork me on GitHub