![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any simple method to check date format (YYDDD)? | ganapati | UNIX for Dummies Questions & Answers | 4 | 01-03-2008 06:00 AM |
| Correct format in a log file | sd12 | UNIX for Advanced & Expert Users | 11 | 12-12-2007 02:40 PM |
| Check the format of Date | AAA | Shell Programming and Scripting | 2 | 11-28-2007 01:06 AM |
| Alternative of format date in HP unix | epall | UNIX for Dummies Questions & Answers | 2 | 09-29-2007 10:56 PM |
| Unix Date Format | sfpoet | UNIX for Dummies Questions & Answers | 2 | 01-17-2002 08:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Check for the correct date format in UNIx
Hi All,
I am getting two input from User for Date from the command prompt when my script is executed . The date format i am taking is : DD-MM-YYYY so is there any method in Unix to validate the two input date. There might be many cases for these two date to be invalid. Few are : Date1 is Greater than Date2. The format of date1 and Date2 is not correct. The DD can be more than 31. Similarly for month. Thanks rawat |
| Forum Sponsor | ||
|
|