ctime

Returns time as a string in local time, for the given time, t, in seconds.

Syntax

R = ctime(t)

Inputs

t
Type: Non-negative double

Outputs

R
Type: string

Example

R = ctime(0)
R = Wed Dec 31 16:00:00 1969