On 13/8/12 9:56, Jürgen Hestermann wrote:
I am not able to use this function:
http://www.freepascal.org/docs-html/rtl/dos/weekday.html
nor can I find it in the sources.
Does it still exist?
If yes, how to use it? Which unit? DOS does not work.
You will find what you need at unit dateutils.
When I add dateutils to my units Weekday isn't found either (I already
tried this yesterday).
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).
Howard
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal