Convert string time into seconds?
Lancelot of Caid
lance at lancelot
Tue Jul 11 13:05:54 AEST 1989
In article <4760015 at hpirs.HP.COM>, wk at 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,
More information about the Comp.unix.wizards
mailing list