trweek(1)                                               trweek(1)


NAME
       trweek - determine weeknumber of specified date.


SYNOPSIS
       trweek [ date ]


DESCRIPTION
       trweek  determines  the  weeknumber of a date specified on
       the commandline. The date must be specified  as  yyyymmdd,
       where  yyyy is the year, mm is the month and dd is the day
       of the month; e.g: 19950102. The weeknumber is printed  on
       the standard output stream.


DIAGNOSTICS
       trweek can return the following exit values:

       0  success:  program  execution has been successfully com-
          pleted,

       1  error: an invalid date was specified.


SEE ALSO
       trreport(1).


EXAMPLE
       trweek 19950102


AUTHOR
       M.J. Moene






















14 Mar 1995Elektronische Afdeling, Huygens Laboratorium         1