The above code is working fine but need some more modification..
Like the time I have may contain AM or PM and depending on that it should change that to 24 hr format..
and something extra i need is..
As i told you before I have a file which contains manier lines and somewhere in between I have a line
Forwrded by Deepak on 11/12/2009 10:48 PM EDT
or
Forwarded by Deepak on 10/12/2009 11:30 AM AST
or
Forwarded by Deepak on 10/12/2009 11:30 AM
where EDT=eastern Std Time
AST=Asian Std Time
if nothing is there after AM/PM then it should consider it as AST and do accordingly
Now the output I need is
Date in dd/mm/yyyy format which is there in input..
Time in HH:MM in 24 hr format and if it is AST then it should deduct 9.5Hrs from the actual time...
So as per the 1st example above
the output i should get is
11/12/2009 22:48
and for the 2nd example
10/12/2009 02:00
for the 3rd example
10/12/2009 02:00
Please give me the shell script for this.....
Thank you.
---------- Post updated at 07:58 PM ---------- Previous update was at 08:34 AM ----------
No reply at al!!!
Please help me freinds... Please give me the script for above post
---------- Post updated 11-02-09 at 06:49 PM ---------- Previous update was 11-01-09 at 07:58 PM ----------
Nobody here knows about this or what?? If so please let me know...so that I can try for other alternatives where i can get the info.
---------- Post updated 11-03-09 at 03:38 AM ---------- Previous update was 11-02-09 at 06:49 PM ----------
heloooooooo no one is hearing me
---------- Post updated at 07:04 AM ---------- Previous update was at 03:38 AM ----------
I think you people didnt understand my requirement..
Ok leave it..Atleast tell me how can i get the below one please..
input
Forwarded by deepak on 11/17/2009 12:34 PM EDT
output
11/17/2009 12:34 PM EDT
waiting for your reply.