Jan 30, 2004 #1 pjb Programmer May 1, 2001 148 US Is ther a way to return The date +7 days with the date command?
Jan 30, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR Try something like this: Code: TZ=X-168 date Depending on your timezone, you may have to adjust 168 offset. BTW, 168 = 7 * 24 Hope This Help PH. Upvote 0 Downvote
Try something like this: Code: TZ=X-168 date Depending on your timezone, you may have to adjust 168 offset. BTW, 168 = 7 * 24 Hope This Help PH.
Jan 30, 2004 Thread starter #3 pjb Programmer May 1, 2001 148 US Thanks, Taht'l do it. 163 works for eastern time Upvote 0 Downvote
Jan 30, 2004 #4 aigles Technical User Sep 20, 2001 464 FR With GNU date command, you can easily works with dates. In your case : date --date='7 days' Jean Pierre. Upvote 0 Downvote
With GNU date command, you can easily works with dates. In your case : date --date='7 days' Jean Pierre.