Site Tools


mktime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mktime [2008/10/26 00:41] (current)
Line 1: Line 1:
 +# $EPIC: mktime.txt,​v 1.3 2008/10/26 00:41:47 jnelson Exp $
 +======Synopsis:​======
 +$__mktime__(<​year>​ <​month>​ <day> <​hour>​ <​minute>​ <​second>​ <​DST>​)
 +
 +======Description:​======
 +This function returns the epoch time basing on specified parameters.
 +
 +^ Parameter ​        ^ Name   ^ Description ​                       ^
 +| $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 (external edit)