Aucbvax.2039 fa.unix-wizards utzoo!duke!decvax!ucbvax!Mike.Accetta@CMU-10A Thu Jul 2 07:17:46 1981 Re: date/time parsing We have three generalized data/time routines here at CMU which might do what you want: pdate - takes a general date/time string (ctime as well as most other common formats) and using a YACC grammar parses it into a tm structure. gtime - takes a tm structure and generates the corresponding 32-bit time (inverse of localtime) atot - takes a date/time string and returns the corresponding 32-bit time using the above routines. You're welcome to them if you like. - Mike ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.