Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Date calculations with stock and Gnu versions of 'date'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Date calculations with stock and Gnu versions of 'date'
Authored by: rahulbenegal on Jul 26, '08 09:37:51PM

Yes, you are correct, at the time of writing I had overwritten my stock date program.

@soujuorner, perhaps you have another version of date in your path - the gnu version.

Try the gnu option. Or do "which date". If its in /opt/local/bin, it would be the gnu version. If it's /usr/bin/date, that should be the stock version which supports the -v option.

Do "date --help" to see whether it supports "--date" or "-v".

[ Reply to This | # ]