🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7321

Re: finding the day of week from the date

#7321
From: McCormick Martin
Date: Mon, 24 Jun 1991 16:21
14 lines
1120 bytes
I don't have the list of DOS function calls in front of me, right now, but
there definitely is a call which returns the current weekday in one of 
the registers.  0 = Sunday and 6 = Saturday.  I've written a couple of 
small applications using the function and it works very well.There are four
DOS functions grouped together.  They are called get date, set date, get
time, and set time.  I believe the one you want for the weekday is
get date.

Martin McCormick
Amateur Radio WB5AGZ
Oklahoma State University
Computer Center
Data Communication sGroup
Stillwater, OK
Technical Details
Message-ID: <1991Jun24.162124.24409@d.cs.okstate.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!cs.umn.edu!uc!apctrc!drd!d.cs.okstate.edu!mmccorm
References: <tr.677526990@samadams> <1468@ai.cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!cs.umn.edu!uc!apctrc!drd!d.cs.okstate.edu!mmccorm
From: mmccorm@d.cs.okstate.edu (McCormick Martin)
Newsgroups: comp.os.msdos.programmer
Subject: Re: finding the day of week from the date
Message-ID: <1991Jun24.162124.24409@d.cs.okstate.edu>
Date: 24 Jun 91 16:21:24 GMT
Article-I.D.: d.1991Jun24.162124.24409
References: <tr.677526990@samadams> <1468@ai.cs.utexas.edu>
Organization: Oklahoma State University, Stillwater
Lines: 14