~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/time/help/en_US/now.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="now">
14
 
  <refnamediv>
15
 
    <refname>now</refname>
16
 
    <refpurpose>Return current date and time</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>t = now()</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Description</title>
24
 
    <para>
25
 
      t = now() returns date and time as a serial date number. (See <link linkend="datenum">datenum</link>)
26
 
    </para>
27
 
  </refsection>
28
 
  <refsection>
29
 
    <title>Examples</title>
30
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>now</refname>
 
16
        <refpurpose>Return current date under the form of a Unix hour (timestamp)</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>t = now()</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Description</title>
 
24
        <para>
 
25
            t = now() returns date and time as a serial date number. (See <link linkend="datenum">datenum</link>)
 
26
        </para>
 
27
    </refsection>
 
28
    <refsection>
 
29
        <title>Examples</title>
 
30
        <programlisting role="example"><![CDATA[ 
31
31
realtimeinit(1);
32
32
realtime(0);
33
33
t1 = now()
36
36
t1 = now()
37
37
datevec(t1)
38
38
 ]]></programlisting>
39
 
  </refsection>
40
 
  <refsection role="see also">
41
 
    <title>See Also</title>
42
 
    <simplelist type="inline">
43
 
      <member>
44
 
        <link linkend="clock">clock</link>
45
 
      </member>
46
 
      <member>
47
 
        <link linkend="datenum">datenum</link>
48
 
      </member>
49
 
      <member>
50
 
        <link linkend="datevec">datevec</link>
51
 
      </member>
52
 
    </simplelist>
53
 
  </refsection>
 
39
    </refsection>
 
40
    <refsection role="see also">
 
41
        <title>See Also</title>
 
42
        <simplelist type="inline">
 
43
            <member>
 
44
                <link linkend="clock">clock</link>
 
45
            </member>
 
46
            <member>
 
47
                <link linkend="datenum">datenum</link>
 
48
            </member>
 
49
            <member>
 
50
                <link linkend="datevec">datevec</link>
 
51
            </member>
 
52
        </simplelist>
 
53
    </refsection>
54
54
</refentry>