![]() |
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 |
| Convert date from yymmdd to mm/dd/yy | zmaster18 | Shell Programming and Scripting | 5 | 04-02-2008 04:59 PM |
| Convert DATE string to a formatted text | osramos | Shell Programming and Scripting | 6 | 10-10-2007 05:31 AM |
| convert Julian date to calender date | srikanthus2002 | Shell Programming and Scripting | 6 | 05-08-2007 06:27 AM |
| how to convert a string to int | senthilk615 | Shell Programming and Scripting | 2 | 03-21-2006 11:42 AM |
| Date convert Help | nzq71k | UNIX for Dummies Questions & Answers | 2 | 05-20-2003 04:25 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Convert String to Date
Hi,
I have a String input parameter like this: 20080430 (YYYYMMDD). Inside my korn shell script I need to add one day to this date. Code:
L_TRADE_DAY=$1 let L_TODAY=$L_TRADE_DAY+1 What is a good way to prevent this? I really would like to avoid PERL and also AWK is missing mktime,strftime on my Solaris 5.8 Generic_117350-49 server. Regards B. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|