Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dates(1M) — sysv — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkginfo(4)



DATES(1M-SysV)      RISC/os Reference Manual       DATES(1M-SysV)



NAME
     dates - convert date stamps

SYNTAX
     dates -now | -f file ... | -s seconds | [ -l | -u ]
     yymmddhhmm[.ss]

DESCRIPTION
     dates provides a means of converting between unix integer
     timestamps (number of seconds since the epoch, midnight
     December 31, 1969) and formatted strings more meaningful to
     humans. It can be used to convert in either direction.

     Basically a request is made to print information pertaining
     to a particular sencond in time; dates then prints the
     equivalent value expressed as seconds since the epoch and
     formatted strings showing the value for both local and
     Universal time (GMT).

     The moment of interest can be specified in one of four ways,
     as selcted by the option switch given.

     -now specifies the current time (i.e., when dates executes).

     ``-f file ...''  specifies the modification timestamp for
     each of the named files (nonexistent files print with a date
     of 0, which is December 31, 1969); dates will display the
     conversion information for each file requested.  -l and -u
     specify the time given by yymmddhhmm[.ss], in local or
     Universal time, respectively.

     dates is useful for determining the timestamp value speci-
     fied for a software package in its pkginfo file.

FILES
     /usr/pkg/bin/dates

SEE ALSO
     pkginfo(4) in the Programmer's Reference Manual.
















                         Printed 1/15/91                   Page 1



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