Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 Xref: mnetor comp.sys.mac:5796 comp.sources.wanted:1992 comp.lang.c:3781 comp.lang.pascal:257 comp.sys.ibm.pc:6944 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