WEDNESDAY
WEDNESDAY = 3
Example
function IsWednesday(const Value: TDateTime): Boolean;
begin
Result := DayOfTheWeek(Value) = WEDNESDAY;
end;
Usage
Represents Wednesday as 3 in Velox's Monday-first weekday numbering.
Additional Technical Info
The Velox date-tools importer registers WEDNESDAY as a signed LongInt. It is value 3 in the Monday-first sequence used by DayOfTheWeek.
SysUtils DayOfWeek represents Wednesday as 4. The numeric values require an explicit convention at database, JSON, EDI and configuration boundaries.
The constant does not identify a particular calendar date or business day. Holiday and cutoff rules remain external configuration. The example is source-reviewed only; no weekday or calendar rule was evaluated.
External references
- Embarcadero DayOfTheWeek - Monday-first numbering.
- Free Pascal DayOfTheWeek - compatible numbering.