Skip to content

mktime_t()#

Syntax
mktime_t( year, month, dayofmonth, hours, minutes, seconds, timezone )

Returns#

Returns a Unix timestamp (seconds since epoch) for the specified date and time.

Parameters#

Parameter Description
year The 4-digit year.
month The month (1-12).
dayofmonth The day of the month (1-31).
hours The hour (0-23).
minutes The minute (0-59).
seconds The second (0-59).
timezone The timezone offset in seconds from UTC.