[fpc-pascal] WeekDay outdated?

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Aug 13 11:37:02 CEST 2012

Am 2012-08-13 11:17, schrieb Howard Page-Clark:
> Sysutils has an integer DayOfWeek function, and dateutils has a word DayOfTheWeek function.
> Both take a TDateTime parameter (rather than the separate year, month, day parameters of the old dos unit).
Yes, I already saw this. But this requires a TDateTIme parameter.
I have year, month, day directly available.
Why beeing forced to create a TDateTime parameter?
Weekday() would not require this and it is documented but does not exist?

More information about the fpc-pascal mailing list