Navigation

Operators and Keywords

Function List:

C++ API

: asctime (tm_struct)

Convert a time structure to a string using the following format: "ddd mmm mm HH:MM:SS yyyy\n".

For example:

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

This is equivalent to ctime (time ()).

See also: ctime, localtime, time.

Package: octave