date/time parsing
    utzoo!duke!decvax!ucbvax!Mike.Accetta at CMU-10A 
    utzoo!duke!decvax!ucbvax!Mike.Accetta at CMU-10A
       
    Thu Jul  2 07:17:46 AEST 1981
    
    
  
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
    
    
More information about the Comp.unix.wizards
mailing list