Description: Returns the ISO calendar-week number after shifting the supplied timestamp five hours earlier, so the Wesseling production day changes at 05:00 rather than midnight.
Calling convention: WeekOfTheYear_WES(DateTime: Double): Integer
Parameters:
DateTime: Delphi-compatible date/time serial value. NULL returns NULL.
Returns: Shifted calendar-week number in the range 1 through 53, or NULL.
Availability: Default; Wesseling-specific.
Example:
Week := WeekOfTheYear_WES(GetSysDate());