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? Why? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal