y2k program

Documentation for the y2k program is below, with links to related programs in the "see also" section.

{version = 1.01; (* of y2k.p 1999 Feb 22}

(* begin module describe.y2k *)
(*
name
   y2k: test whether Pascal compiler gives 2 or 4 digit dates

synopsis
   y2k(output: out)

files
   output: messages to the user

description

   Test whether a Sun Pascal compiler gives 2 or 4 digits

The solution is to use a two argument call to date:

   date(bigdate,'%m/%d/%Y');

Information about the format is given in the manual page
for date under Unix.

examples

A failure of the Sun Pascal compiler:

y2k 1.00
adate: "12/13/99  "
atime: "17:01:03  "

documentation

see also
   delmod.p

author
   Thomas Dana Schneider

bugs

technical notes

*)
(* end module describe.y2k *)
{This manual page was created by makman 1.44}
{created by htmlink 1.52}