Friday, October 16, 2009

STRFTIME, your gateway to date and time in C !!!

"strftime" converts information from a time structure to a string form, and writes the string into the memory area pointed to by "string".

The "format" string tells what information is required and how it should be presented. It is much like the format string used by "printf". The format string consists of ordinary characters (which are copied directly into "*string") and placeholders consisting of a '%' followed by a letter. For a list over placeholders visit here.

No comments: