Navigation

Operators and Keywords

Function List:

C++ API

: tm_struct = localtime (t)

Given a value returned from time, or any non-negative integer, return a time structure corresponding to the local time zone.

localtime (time ())
    ⇒ {
          usec = 0
          sec = 6
          min = 15
          hour = 1
          mday = 17
          mon = 1
          year = 97
          wday = 1
          yday = 47
          isdst = 0
          gmtoff = -21600
          zone = CST
       }

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

Package: octave