North American Network Operators Group Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical Re: Mail problems, not microsoft
>Similar minor problem here. An ancient version of GNU date was still >in-use, and it didn't seem to like the year. > > $ date -d "`date`" > date: invalid date. Indeed, date seems to be one of the things which required patching. On a retired, unpatched, SunOS 4.1.3_U1 machine, date returned strange things: >date +%y%m%d produces >:00103 > >date +%Y%m%d gives >date: bad format character - Y > >once patched it gives >000103 >and accepts %Y >date +%Y%m%d >20000103 Simon -- Simon Lockhart | Tel: +44 (0)1737 839676 Internet Engineering Manager | Fax: +44 (0)1737 839516 BBC Internet Services | Email: [email protected] Kingswood Warren,Tadworth,Surrey,UK | URL: http://support.bbc.co.uk/
|