Navigation

Operators and Keywords

Function List:

C++ API

: ctime (t)

Convert a value returned from time (or any other non-negative integer), to the local time and return a string of the same form as asctime.

The function ctime (time) is equivalent to asctime (localtime (time)). For example:

ctime (time ())
   ⇒ "Mon Feb 17 01:15:06 1997\n"

See also: asctime, time, localtime.

Package: octave