Calling convention: GetQuarter(Date: DateTimeFormat): Integer
Description: Returns the calendar quarter containing the supplied date.
Parameters:
Date: parser date/time value.
Returns: Integer from 1 to 4, or NULL for a NULL argument.
Availability: Default.
Example:
Quarter := GetQuarter(GetSysDate());