Mercurial > octave-nkf
comparison scripts/time/asctime.m @ 7097:e8c94e473c68
[project @ 2007-11-02 17:24:23 by jwe]
author | jwe |
---|---|
date | Fri, 02 Nov 2007 17:24:24 +0000 |
parents | a1dbe9d80eee |
children | 83a8781b529d |
comparison
equal
deleted
inserted
replaced
7096:81bed50b9feb | 7097:e8c94e473c68 |
---|---|
22 ## Convert a time structure to a string using the following five-field | 22 ## Convert a time structure to a string using the following five-field |
23 ## format: Thu Mar 28 08:40:14 1996. For example, | 23 ## format: Thu Mar 28 08:40:14 1996. For example, |
24 ## | 24 ## |
25 ## @example | 25 ## @example |
26 ## @group | 26 ## @group |
27 ## asctime (localtime (time ()) | 27 ## asctime (localtime (time ())) |
28 ## @result{} "Mon Feb 17 01:15:06 1997\n" | 28 ## @result{} "Mon Feb 17 01:15:06 1997\n" |
29 ## @end group | 29 ## @end group |
30 ## @end example | 30 ## @end example |
31 ## | 31 ## |
32 ## This is equivalent to @code{ctime (time ())}. | 32 ## This is equivalent to @code{ctime (time ())}. |