dayOfWeek
dayOfWeek()
Section titled “dayOfWeek()”Category: Date & Time
Returns the day of the week (0=Sunday, 1=Monday, …, 6=Saturday)
Signature
Section titled “Signature”- Return type:
Integer
Examples
Section titled “Examples”Patient.birthDate.dayOfWeek()now().dayOfWeek()@2023-05-15.dayOfWeek()