Description: Returns the ISO calendar-week number for a parser date/time value.
Calling convention: WeekOfTheYear(DateTime: Double): Integer
Parameters:
DateTime: Delphi-compatible date/time serial value. NULL returns NULL.
Returns: Calendar-week number in the range 1 through 53, or NULL.
Availability: Default.
Example:
Week := WeekOfTheYear(GetSysDate());