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. Michael.