1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>CLOCK Get Current Time
</TITLE>
</HEAD>
<BODY>
<H2>CLOCK Get Current Time
</H2>
<P>
Section: <A HREF=sec_freemat.html> FreeMat Functions </A>
<H3>Usage</H3>
Returns the current date and time as a vector. The syntax for its use is
<PRE>
y = clock
</PRE>
<P>
where <code>y</code> has the following format:
<PRE>
y = [year month day hour minute seconds]
</PRE>
<P>
<H3>Example</H3>
Here is the time that this manual was last built:
<PRE>
--> clock
ans =
1.0e+03 *
2.0090 0.0100 0.0040 0.0220 0.0260 0.0321
</PRE>
<P>
</BODY>
</HTML>
|