[SPARCbook] date won't accept 00 for year 2000
Michael Lorenz
ml at rz.uni-potsdam.de
Fri Sep 1 01:37:07 CDT 2000
Greetings !
> Doug Moore wrote:
>
> How can I get my SunOS Release 4.1.3 (SPARCBOOK_A.2.3) to respond to
> date in the following format so I can enter the year 2000?
>
> date [[mmdd]hhmm[[cc]yy][.ss]]
>
> All I've been able to do so far is get to the year 1999...
>
> # /usr/5bin/date 0831112700
> Wed Dec 31 18:59:59 EST 1969
> # /usr/5bin/date 0831112899
> Tue Aug 31 11:28:00 EDT 1999
> #
date 1231235999
... wait a minute to get the year to change...
date 09010835
btw, ever tried date 090108352000 ? The [cc] bit above screams "century"
at me...
More information about the SPARCBook
mailing list