Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
24
bitchx-docs/6_Functions/strftime
Normal file
24
bitchx-docs/6_Functions/strftime
Normal file
@@ -0,0 +1,24 @@
|
||||
Synopsis:
|
||||
$strftime(<format>)
|
||||
|
||||
Technical:
|
||||
This function returns the current time with a user-definable format. It
|
||||
calls the library function strftime(), so the exact tokens available
|
||||
will vary from system to system, and the output will vary by locale;
|
||||
consult your system manual page for strftime(3) for more information.
|
||||
|
||||
Practical:
|
||||
This function is useful for extracting certain bits on information
|
||||
about the current date and time without needing to parse the entire
|
||||
string itself in script.
|
||||
|
||||
Returns:
|
||||
current time, dependent on format specified
|
||||
|
||||
Examples:
|
||||
$strftime(%d %B %Y) might return "13 December 1996"
|
||||
$strftime(%x at %X) might return "12/13/96 at 16:45:42"
|
||||
|
||||
See Also:
|
||||
stime(6); time(6)
|
||||
|
||||
Reference in New Issue
Block a user