[fpc-pascal]date handling routines
Marco van de Voort
marcov at stack.nl
Thu Aug 30 20:37:48 CEST 2001
[ Charset ISO-8859-1 unsupported, converting... ]
> Hey guys,
> Wondering if there was already a unit available that could tell me the day of week a certain date was. An example perhaps would be:
>
> function GetDayOfWeek(date:datetimerecord):integer;
>
> where result would be 1-7 (depending on the date).
>
> If not, then I will just write my own, but why reinvent the wheel, eh?
I can't remember the exact name, but some function like that is in sysutils.
Check the documentation for more details.
More information about the fpc-pascal
mailing list