Xref: utzoo comp.lang.c:36693 comp.unix.programmer:1202 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!unixhub!slacvm!doctorj From: DOCTORJ@SLACVM.SLAC.STANFORD.EDU (Jon J Thaler) Newsgroups: comp.lang.c,comp.unix.programmer Subject: Re: help to new C programmer with time.h Message-ID: <91060.204625DOCTORJ@SLACVM.SLAC.STANFORD.EDU> Date: 2 Mar 91 04:46:25 GMT Organization: Stanford Linear Accelerator Center Lines: 15 In article <1991Mar1.165132.7053@athena.mit.edu>, scs@adam.mit.edu (Steve Summit) says: >Surprisingly enough, the functions time() and ctime() (as well as >asctime, localtime, gmtime, and the new, more flexible strftime), >*are* in the ANSI C Standard, X3.159. (See section 4.12 .) >Therefore, these functions *should* be used in C programs which >wish to manipulate dates and times, in preference to the redundant, >system-specific, nonportable alternatives several vendors >incongruously provide. My usual computing environment is more-or-less system specific (VMS), but multi-language (C and Fortran). I find that in this situation DEC's nonportable, but language independent time functions are far more useful. Jon Thaler