Navigation

Operators and Keywords

Function List:

C++ API

asctime.m File Reference


Functions

else print_usage ()
 !assert (strcmp(asctime(localtime(t)), ctime(t)))
!error asctime ()
!error asctime (1, 2)

Variables

function retval
endif endfunction!test !t = time ()

Function Documentation

!assert ( strcmp(asctime(localtime(t)), ctime(t))   ) 

!error asctime ( ,
 
)

!error asctime (  ) 

else print_usage (  ) 


Variable Documentation

endif endfunction !test !t = time ()

function retval

Initial value:

 asctime (t)

  if (nargin == 1)
    retval = strftime ("%a %b %d %H:%M:%S %Y\n", t)