Article View: comp.sys.mac
Article #17661Time and date parser
From: Isaac Kohane
Date: Fri, 21 Aug 1987 01:08
Date: Fri, 21 Aug 1987 01:08
15 lines
1127 bytes
1127 bytes
I am currently working on a project for which I need a utility that I am sure has been implemented thousands of times: a parser of times and dates. Specifically, I need to parse a string with the time and date and return an integer (number of seconds with respect to some arbitrary origin.) Also, it would be nice to have an inverse function (integer number of seconds to string with time and date)+. I would appreciate any relevant code fragments in Pascal or C and will send back to the net the most complete and useful solutions. Please send directly to my E-mail address rather than following up on the net. -Isaac
Technical Details
Message-ID:
<12148@bu-cs.BU.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bu-cs!gaspShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bu-cs!gasp From: gasp@bu-cs.BU.EDU (Isaac Kohane) Newsgroups: comp.sys.mac,comp.sources.wanted,comp.lang.c,comp.lang.pascal,comp.sys.ibm.pc Subject: Time and date parser Message-ID: <12148@bu-cs.BU.EDU> Date: Thu, 20-Aug-87 21:08:40 EDT Article-I.D.: bu-cs.12148 Posted: Thu Aug 20 21:08:40 1987 Date-Received: Sat, 22-Aug-87 12:57:22 EDT Organization: Boston U. Comp. Sci. Lines: 15