[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date (GNU sh-utils) 2.0 gives incorrect result
From: |
Michael Wang |
Subject: |
date (GNU sh-utils) 2.0 gives incorrect result |
Date: |
Fri, 16 Aug 2002 00:02:36 -0400 |
User-agent: |
Mutt/1.2.5i |
date (GNU sh-utils) 2.0 gives incorrect result.
date (GNU sh-utils) 1.16 and perl are ok.
Please advise how should I fix date (GNU sh-utils) 2.0.
Thanks.
(1)
[julie:/opt/home/mwang/Perl]/usr/local/bin/date --version
date (GNU sh-utils) 2.0
Written by David MacKenzie.
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[julie:/opt/home/mwang/Perl]/usr/local/bin/date -d '1970-01-01 00:00:1028233379
GMT'
Thu Aug 1 17:22:59 EDT 2002
(2)
address@hidden:oracle] /usr/local/bin/date --version
date (GNU sh-utils) 1.16
address@hidden:oracle] /usr/local/bin/date -d '1970-01-01 00:00:1028233379 GMT'
Thu Aug 1 16:22:59 EDT 2002
(3)
[julie:/opt/home/mwang/Perl]perl -e 'print scalar(localtime(1028233379))."\n"';
Thu Aug 1 16:22:59 2002
--
Michael Wang
http://www.unixlabplus.com/
- date (GNU sh-utils) 2.0 gives incorrect result,
Michael Wang <=