Skip to main content

SATURDAY

SATURDAY = 6

Example

function IsSaturday(const Value: TDateTime): Boolean;
begin
Result := DayOfTheWeek(Value) = SATURDAY;
end;

Usage

Represents Saturday as 6 in Velox's Monday-first weekday numbering.

Additional Technical Info

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

SysUtils DayOfWeek returns 7 for Saturday. Mixing the functions silently classifies the adjacent day because both use valid values 1..7.

The constant does not define whether Saturday is a working day, weekend, holiday or cutoff day. Those are configuration/business-calendar rules. The example is source-reviewed only; no date or business calendar was evaluated.

External references

Created 2026-07-15