view docs/nitros9guide/date.refentry @ 2772:0a3f4d8ea6d5

Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected. Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author drencor-xeen
date Wed, 23 Jan 2013 12:36:55 -0600
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="date">
<refnamediv>
<refname>DATE</refname>
<refpurpose>Display system date and time</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>date</command>
<arg choice="opt">
  <option>-t</option>
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
This command will display the current system date, and if the &quot;-t&quot;
option is given, the current system time.
</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
date -t

date -t &gt;/p (Output is redirected to printer)

OS9: setime

       yyyy/mm/dd hh:mm:ss
Time ? 2003/04/15 14:19:00

OS9:date

April 15, 2003

OS9:date -t

April 15, 2003  14:20:20
</screen>
</refsect1>
</refentry>