David Gonzalez Marquez wrote: > Hi! > > I am student of computer science at university of Buenos Aires. I am > using the command "date" for calculing days. I need to calculate the > following day for any day. Doing that I see a error. > > I use for example: date --date "1920-05-02 1 days" "+%F" > > and for the followings days, I see a error: > > date: invalid date `1920-05-01 1 days'
Seems to work fine here with coreutils 7.2 and 8.1 What version of date are you using? cheers, Pádraig.
