![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Days difference between two dates | Data469 | Shell Programming and Scripting | 6 | 03-26-2008 03:32 PM |
| Number of days between two distinct dates | radheymohan | UNIX for Advanced & Expert Users | 1 | 10-16-2007 08:39 AM |
| list exe files modified before certain dates | fremont | UNIX for Dummies Questions & Answers | 2 | 05-25-2007 09:29 AM |
| Difference between two dates in no of days ??? | csaha | Shell Programming and Scripting | 1 | 01-13-2006 06:44 AM |
| days elapsed between 2 dates | rkkiran | UNIX for Dummies Questions & Answers | 1 | 03-04-2002 12:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Find number of days and list out the dates in between
Hi All,
Can unix cshell list out the number of days between 070201 and 070205 (format is yymmdd) and list out all the dates in between in similiar format. set startdate = `date '+%y%m%d'` #eg 070201 set enddate = `date '+%y%m%d'` #eg 070205 i would expect the number of days to be 5 days inlcusive. and i would expect the scripte to list out the dates between them like 070201 070202 070203 070204 070205 can anybody help ? |
|
|||||
|
Perhaps take a look at http://www.unix.com/shell-programming-scripting/13904-date-manipulation.html#post51060
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|