Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ date(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

printf(3S)



DATE(1)                  DOMAIN/IX SYS5                   DATE(1)



NAME
     date - print the date

USAGE
     date [ +format ]

DESCRIPTION
     Date prints the current date and time.  If you specify an
     argument beginning with a plus (+), the output of date is
     user-controlled.  The output format is similar to that of
     the first argument to printf(3S).  All output fields are of
     fixed size (zero padded if necessary).  Each field descrip-
     tor is preceded by % and is replaced in the output by its
     corresponding value.  A single % is encoded by %%.  All
     other characters are copied to the output without change.
     The string is always terminated with a newline character.

FIELD DESCRIPTORS
     n         Newline character

     t         Tab character

     m         Month of year - 01 to 12

     d         Day of month - 01 to 31

     y         Last 2 digits of year - 00 to 99

     D         Date as mm/dd/yy

     H         Hour - 00 to 23

     M         Minute - 00 to 59

     S         Second - 00 to 59

     T         Time as HH:MM:SS

     j         Day of year - 001 to 366

     w         Day of week - Sunday = 0

     a         Abbreviated weekday - Sun to Sat

     h         Abbreviated month - Jan to Dec

     r         Time in AM/PM notation






Printed 12/4/86                                            DATE-1







DATE(1)                  DOMAIN/IX SYS5                   DATE(1)



CAUTIONS
     The DOMAIN/IX version of date does not allow you to set the
     system date and time interactively.  Your node must be shut
     down and the DOMAIN calendar stand-alone utility run in
     order to make the change.  Refer to the DOMAIN System Com-
     mand Reference for information on this.

RELATED INFORMATION
     printf(3S).












































DATE-2                                            Printed 12/4/86





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