Navigation

Operators and Keywords

Function List:

C++ API

: seconds = mktime (tm_struct)

Convert a time structure corresponding to the local time to the number of seconds since the epoch.

For example:

mktime (localtime (time ()))
    ⇒ 856163706

See also: strftime, strptime, localtime, gmtime, time, now, date, clock, datenum, datestr, datevec, calendar, weekday.

Package: octave