Aucbvax.2040 fa.unix-wizards utzoo!duke!decvax!ucbvax!KLH@SRI-KL Thu Jul 2 08:08:31 1981 date/time parsers Hmm, another case of wheel re-invention I guess. I also have the requisite routines to parse a date-time string into its components and derive the 32-bit time from them. One possible difference: they are written completely in C, since I don't have YACC. Also, I specifically wrote it to accept all of the same input that the TNX JSYSes do, barring one or two cases that you never really see (e.g. "midnight"). It is quite a bit more context-free than TNX, however. Perhaps what you should do is get a copy of all the hacks mentioned so far, and report to UNIX-WIZARDS which ones are winning for what reasons. ------- ----------------------------------------------------------------- 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.