yearOf
yearOf()
Section titled “yearOf()”Category: Date & Time
Returns the year component of a Date or DateTime
Signature
Section titled “Signature”- Return type:
Integer
Examples
Section titled “Examples”Patient.birthDate.yearOf()now().yearOf()@2023-05-15.yearOf()