[comp.lang.c] Time and date parser

gasp@bu-cs.BU.EDU (Isaac Kohane) (08/21/87)

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