#: 7574 S3/Languages
19-Oct-90 21:23:57
Sb: #7519-#strftime()
Fm: Bob van der Poel 76510,2203
To: Pete Lyall 76703,4230 (X)
Pete, strftime() is an ANSI C function which converts time to a formatted
stirng. Lots of options, similar to printf(), let you set the format just as
you need. I got the docs from "C: The Complete Reference", Schil and "stole"
the source from the Mix C complier for the IBM. Schildt's book does not talk
about precision, the Mix C stuff left pads all the numbers with 0's. Does this
help?
There is 1 Reply.
|