Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DATETIME                            Aegis                             DATETIME



NAME
     datetime - shell command line date-time syntax

DESCRIPTION
     Many commands require you to specify a date and/or time of day as an
     argument to certain command options.  $ ld -af date, for instance,
     requests information on files modified after a certain date and time.

     The general date-time syntax is

         [[[yy]yy/]mm/dd][.][hh:mm[:ss]]  |  today

     If the date portion is omitted, today's date is assumed.  If the time
     portion is omitted, midnight (00:00) is assumed.  The time must be
     specified in 24-hour format.  If both time and date are specified, they
     must be separated by a period (.), with no intervening space.

       Note:  year numbers between 80 and 99   are treated as 1980..1999
              year numbers between 00 and 79   are treated as 2000..2079

      Examples:

          19:00               7 PM today
          today               midnight today
          82/1/1              midnight, January 1, 1982
          82/03/23.10:00:01   10:00:01 AM on March 23, 1982

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026