Re:Need Help - Date Routines
Quote
> I'm trying to find some date routines to keep from
> reinventing the wheel. Basically what I need to do
> is determine if a given date falls within daylight
> savings time; the first Sunday in April to the last
> Saturday in October. If anyone can help me. I would
> greatly appreciate it. Also, if you can actually send
> me a response instead of or in addition to posting here,
> that would be prefered. I've never posted to a newgroup
> before, and I'm not sure I'll be able to find a response.
> Thanks.
> Drew
> drew_bl...@gilbarco.com
> bl...@spyder.net
GetDate (procedure) (Dos unit and WinDos unit)
----------------------------------------------------
Returns the current date set in the operating system.
Declaration:
procedure GetDate(var Year, Month, Day, DayOfWeek: Word);
Target:
Windows, Real, Protected
Remarks:
Ranges of the values returned are Year 1980..2099, Month 1..12, Day 1..31,
and DayOfWeek 0..6 (where 0 corresponds to Sunday).
---
straight out of the BP online documentation.
-- sl...@io.wl.k12.in.us -- James Lee -- j...@omni.cc.purdue.edu --
* -- WLCSC Systems Administrator -- ad...@wl.k12.in.us -- *
-- WSC/LAN System Operator -- http://www.wl.k12.in.us/~sleej --
---- PGP Key available via finger -- 49 61 6D 47 4F 44 0D 0A ----