Skip to main content

TUESDAY

TUESDAY = 2

Example

function IsTuesday(const Value: TDateTime): Boolean;
begin
Result := DayOfTheWeek(Value) = TUESDAY;
end;

Usage

Represents Tuesday as 2 in Velox's Monday-first weekday numbering.

Additional Technical Info

The Velox date-tools importer registers TUESDAY as a signed LongInt. It is value 2 in the Monday-first sequence and matches DayOfTheWeek.

SysUtils DayOfWeek returns 3 for Tuesday. A generic numeric weekday field must state which convention it uses before this constant is applied.

The value contains no timezone or locale. The date function evaluates the calendar date already encoded in the input; converting an instant between timezones can change that date and therefore its weekday. The example is source-reviewed only and was not executed.

External references

Created 2026-07-15