mktime
mktime is a commonly used function name in programming libraries for converting a broken-down time into a numeric timestamp. In the C standard library, the function prototype is time_t mktime(struct tm *tm); In PHP, mktime(hour, minute, second, month, day, year, is_dst) returns a Unix timestamp for a date in the local timezone.
In the C form, the function accepts a pointer to a struct tm that contains fields for
In PHP, mktime constructs a timestamp based on the provided date and time components in the server's