mktime()

Examples


The mktime() function creates a time value from three integer values.

Syntax

mktime(hour, minute, second)

Parameters

hour – An integer between 0 and 23 representing the number of hours.

minute – An integer between 0 and 59 representing the number of minutes.

second – An integer between 0 and 59 representing the number of seconds.

Return value

A time or datetime value


Documentation Feedback