ANSI's time_t (again).
Richard L. Klappal
rlk at chinet.UUCP
Sat Jan 11 17:02:52 AEST 1986
Rochkind's book 'ADVANCED UNIX PROGRAMMING' (ISBN 0-13-011800-1) gives
a sample routine to convert "yymmddhhmmss" to internal format. (pp51++).
It not elegant, just brute strength & ugliness, but it works. The
other routines (difftime, delta_days, day_of_year, etc.) are trivail,
or already available as part of ctime.
--
---
UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021
---
More information about the Comp.lang.c
mailing list