Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!randvax!ucla-an!hermix!lancelot!lance From: lance@lancelot (Lancelot of Caid) Newsgroups: comp.unix.wizards Subject: Re: Convert string time into seconds? Message-ID: <303@lancelot> Date: 11 Jul 89 03:05:54 GMT References: <214@melpar.UUCP> <4760015@hpirs.HP.COM> Organization: Lancelot BBS (818) 894-6549 Lines: 16 In article <4760015@hpirs.HP.COM>, wk@hpirs.HP.COM (Wayne Krone) writes: < > I have a user entered time/date in the format: < > yymmddhhmmss < > I need to convert this into seconds since the epoch and < < If you have ANSI C libraries, convert the yymmddhhmmss into a tm struct < and then use mktime() to convert that into seconds since the epoch. < < Wayne What if you DON'T have ANSI C libs? What if you only have SCO 386 Xenix libs? What can a person do then???? Anyone got a lib set that WILL do this that I can get? (source?) Thanks,