Site Tools


Table of Contents

# $EPIC: mktime.txt,v 1.3 2008/10/26 00:41:47 jnelson Exp $


$mktime(<year> <month> <day> <hour> <minute> <second> <DST>)


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


The mktime function first appeared in EPIC5-0.0.3.

mktime.txt · Last modified: 2008/10/26 00:41 by