Skip to main content

THURSDAY

THURSDAY = 4

Example

function IsThursday(const Value: TDateTime): Boolean;
begin
Result := DayOfTheWeek(Value) = THURSDAY;
end;

Usage

Represents Thursday as 4 in Velox's Monday-first weekday numbering.

Additional Technical Info

The Velox date-tools importer registers THURSDAY as a signed LongInt. It is value 4 in the fixed Monday-first sequence used by DayOfTheWeek.

SysUtils DayOfWeek returns 5 for Thursday. Use a conversion or the matching constants when a partner/configuration uses Sunday-first numbering.

ISO week-numbering years use the week containing Thursday to determine week-year membership, but this constant alone does not calculate a week number or week-year. Use the documented Decode/WeekOf functions. The example is source-reviewed only; no date was evaluated.

External references

Created 2026-07-15