[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Date Computations cot executing properly!!

From: urvashi singla
Subject: Date Computations cot executing properly!!
Date: Wed, 30 Oct 2013 23:57:22 +0530

If i execute following computation - 

Next=$(date +%Y%m%d --date="$User 1 day)

This should always give me next day of $User. But I tried it with following values - 

It gives correct result for all except for 20130927. For 20130927 it gives 20130927 instead of next date i.e. 20130928 I don't understand why is this so? Is this a bug?

Awaiting your response!!

Thanks and Regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]