Skip to content

dayOfYear

Category: Date & Time

Returns the day of the year (1-366)

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