strftime
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | strftime [2006/08/29 20:18] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: strftime.txt, | ||
+ | ======Synopsis: | ||
+ | $__strftime__(< | ||
+ | $__strftime__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the < | ||
+ | * If the < | ||
+ | * The first argument is optional. | ||
+ | * The rest of the argument(s) are taken as a strftime(3) format string and are passed directly to strftime(3). | ||
+ | * The return value of the function is the specified time converted into the human readable form described by your strftime(3) format. | ||
+ | * Avoid using system-specific strftime(3) formats for portability reasons. | ||
+ | |||
+ | ======Practical: | ||
+ | You should refer to your system' | ||
+ | for exact details of what a strftime format looks like, because describing | ||
+ | them is beyond the scope of a help file. =) But this function is very | ||
+ | useful for creating timestamps that look just like how you want them. | ||
+ | |||
+ | ======Returns: | ||
+ | A description of the specified < | ||
+ | as processed by strftime(3). | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $strftime(%d %B %Y) might return "13 December 1996" | ||
+ | $strftime(%x at %X) might return " | ||
+ | $strftime(%m/ | ||
+ | $strftime(%Y/ | ||
+ | </ | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in ircII-2.8.1, | ||
+ | in EPIC3pre8. | ||
strftime.txt · Last modified: 2006/08/29 20:18 by 127.0.0.1