Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ datetime — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DATETIME -- Shell command line date-time syntax     83/08/01


  Many commands require you to specify a date and/or time of day as an
  argument to certain command options.  $ LD -DTM 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.

  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