Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mcnc.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!mcnc!alton
From: alton@mcnc.UUCP (Alton Brantley)
Newsgroups: net.wanted.sources
Subject: Date conversion routines
Message-ID: <2511@mcnc.UUCP>
Date: Fri, 18-Jan-85 15:12:19 EST
Article-I.D.: mcnc.2511
Posted: Fri Jan 18 15:12:19 1985
Date-Received: Mon, 21-Jan-85 02:31:05 EST
Reply-To: alton@foghorn.UUCP (Alton Brantley)
Organization: Microelectronics Ctr. of NC; RTP, NC
Lines: 10

I am in need of some algorithms for date conversion of the following
kinds:

Given a date in MM/DD/[YY]YY format, return the number of days from
a standard date as an integer.

I also need the inverse function, taking an integer (offset) from a
standard date and getting back a string in MM/DD/YY format.

Thanks -- Alton Brantley