[fpc-pascal]Week Day

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Thu Apr 19 13:50:35 CEST 2001

On Wed, 18 Apr 2001, Rich Pasco wrote:

> No assembler is required; it's easily done in Pascal:

The following function in the sysutils unit calculates the dayofweek.
(sunday is day 1)

function DayOfWeek(DateTime: TDateTime): integer;

This _is_ in the documentation.


More information about the fpc-pascal mailing list