Name

termcode — Return the code for a term in a particular format

Synopsis

termcode [-t-m-r-s-l] [month] [year]

Description

This returns a code for the term for the specified month and year in a particular format. If no month and year are provided, the values for the current date are used. See the Perl TermCode module for more details about formats.

-t
Format in seconds since the epoch
-m
Print in MFCF format
-r
Print in Registrar format
-s
Print in a short, human-readable format.
-l
Print in a long, human-readable format.