Name

mktime

Synopsis

mktime(timespec){G}

Turns timespec (a string of the form " YYYY MM DD HH MM SS [DST] " representing a local time) into a time-of-day value in seconds since Midnight, January 1, 1970, UTC.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.