mktime
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | mktime [2008/10/26 00:41] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: mktime.txt, | ||
+ | ======Synopsis: | ||
+ | $__mktime__(< | ||
+ | |||
+ | ======Description: | ||
+ | This function returns the epoch time basing on specified parameters. | ||
+ | |||
+ | ^ Parameter | ||
+ | | $0 | year | Number of years since 1900 | | ||
+ | | $1 | month | Month, in range of 0-11 | | ||
+ | | $2 | day | Day of the month, in range of 1-31 | | ||
+ | | $3 | hour | Hour, in range of 0-23 | | ||
+ | | $4 | minute | Minute, in range of 0-59 | | ||
+ | | $5 | second | Second, in range of 0-59 | | ||
+ | | $6 | DST | Whether Daylight Savings Time is on: **1** if it is, **0** if it's not, **-1** or no value if no information is available | | ||
+ | |||
+ | ======History: | ||
+ | The [[mktime]] function first appeared in EPIC5-0.0.3. | ||
+ | |||
mktime.txt · Last modified: 2008/10/26 00:41 by 127.0.0.1