James Bensley wrote:
Can anyone explain this?
[user@machine ~]$ date Tue Mar 29 16:48:38 BST 2011 [user@machine ~]$ date --date="1 month ago" Tue Mar 1 15:48:47 GMT 2011
Shouldn't that last one say the date one month ago, not 28 days ago? (I suppose one month needs to be quantified). Not sure how 'date' has worked that out but I'm guessing the change in time zone might perhaps be to blame?
Can anyone shed some light on this?
http://www.gnu.org/software/coreutils/manual/html_node/Relative-items-in-dat...
Regards, Mike.