Skip to content

dayOfWeek

Category: Date & Time

Returns the day of the week (0=Sunday, 1=Monday, …, 6=Saturday)

  • Return type: Integer
Patient.birthDate.dayOfWeek()
now().dayOfWeek()
@2023-05-15.dayOfWeek()