Unix Timestamp
Chris Adams
cmadams at hiwaay.net
Mon Oct 22 23:18:41 UTC 2001
Once upon a time, Greg A. Woods <woods at weird.com> said:
> PERL!?!?!? What the heck's the matter with "date"!?!?!?!? 0.0 :-)
>
> $ date -r 1003723200
> Mon Oct 22 00:00:00 EDT 2001
On Solaris 7:
$ date -r 1003723200
date: illegal option -- r
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
On Digital Unix 4.0F:
$ date -r 1003723200
date: illegal option -- r
Usage: date [-u] [+field descriptors]
On Red Hat Linux 7.1:
$ date -r 1003723200
date: 1003723200: No such file or directory
But perl works on all three. :-)
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the NANOG
mailing list