Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!news From: n257cl@tamunix.tamu.edu (Sean Malloy) Newsgroups: comp.lang.pascal Subject: Re: I need a date :) please help Message-ID: <23023@adm.BRL.MIL> Date: 13 Apr 90 06:30:31 GMT Sender: news@adm.BRL.MIL Lines: 15 As I said to Mr. Mead, there is a DOS service function available to you that does this automatically. Set AH = 2Ah (decimal 42) Use interrupt 21h (decimal 33). Register AL now contains a number (0-6) which corresponds to Sunday - Saturday. Register CX will contain the year, and DH contains the month # and DL contains the day #. I'll leave it up to one more experienced in linking assembly to PASCAL to explain how to accomplish this in PASCAL. Perhaps you can use a Pascal Command to check the contents of your registers? Best of luck with this (shorter) method... -Sean