subtracting a days from current date | Unix Linux Forums | Shell Programming and Scripting

  Go Back    

Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

subtracting a days from current date

Shell Programming and Scripting

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 03-10-2006
rameshspal rameshspal is offline
Registered User
Join Date: Dec 2005
Last Activity: 13 March 2006, 4:20 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
subtracting a days from current date

Hi i am trying to subtract days from current date. For example todays date is 10/03/2006. If i subtract 2 days it should give 8/03/2006. I am also trying to find the access date of a file in dd/mm/yyyy format. Can any one please help in how to do this.

Sponsored Links
Old 03-10-2006
vino's Avatar
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
Join Date: Feb 2005
Last Activity: 9 April 2013, 8:19 AM EDT
Location: Sydney, Down Under
Posts: 2,847
Thanks: 0
Thanked 12 Times in 12 Posts
Welcome to the forum. You must have read the rules. It says

(5) Search the forums database with your keywords before asking.

Korn Shell Script - Getting yesterdays date
How to find Previous date and Coming date
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Number of days between the current date and user defined date hiten.r.chauhan Shell Programming and Scripting 1 03-01-2011 10:13 AM
Adding or subtracting days from current date in batch script anand1773 Windows & DOS: Issues & Discussions 2 01-12-2011 03:38 PM
Date after 5 days from current date in YYYYMMDD format needyourhelp10 Shell Programming and Scripting 8 09-30-2010 05:33 PM
How to find a date which is 7 days past when given current date ladtony Shell Programming and Scripting 17 04-09-2009 05:06 PM
adding or subtracting days in the o/p of date St.Fartatric UNIX for Dummies Questions & Answers 1 05-19-2008 08:10 AM

All times are GMT -4. The time now is 06:24 AM.