![]() |
|
|
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 |
| query related to if | sainathdeg | Shell Programming and Scripting | 1 | 08-26-2008 09:49 AM |
| Print related query | sapan123 | Shell Programming and Scripting | 1 | 08-09-2008 05:54 AM |
| awk related query | abhisek.says | UNIX for Dummies Questions & Answers | 2 | 05-22-2008 03:49 AM |
| sed related query | gopsman | Shell Programming and Scripting | 1 | 11-30-2007 09:03 AM |
| Query related to #!/bin/sh | sureshg_sampat | Shell Programming and Scripting | 2 | 02-08-2007 05:54 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
datetimestamp related query!
Hi all, I have put a query in a thread but didn't get any reply. Hoping to get a reply here. I have a file in that one line resembles like below... Code:
Forwarded by Deepak on 11/15/2009 10:28 AM EST ofcourse AM can be PM also... so what i need is first i need to get only "11/15/2009 10:28 AM EST" from the line.. then I need to change the time to 24hr format.... if it is EST after AM/PM then let the time be same as given.. if it is AST instead of EST deduct 9.5hrs from the given time. if nothing is there after AM/PM then deduct 9.5hrs from the given time. so the final output should be in the form of mm/dd/yyyy hh:mm Please help me guys... ---------- Post updated 11-03-09 at 01:19 AM ---------- Previous update was 11-02-09 at 11:35 PM ---------- help me guys |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|