need some more help please
i have a large file and
i want to change just the date format
with awk or sed
from this
yyyy-mm-dd
2016-04-15 8.30
2016-04-15 7.30
2016-04-13 7.30
2016-04-11 8.30
2016-04-11 7.30
2016-04-08 8.30
2016-04-08 7.30
2016-04-06... (5 Replies)
Hi, I am extracting a date string from the source file like this :
06/05/2014 16:04:00
I want to change it to 05-JUN-14 04.05.00.000000000 PM
I basically store the date in a variable. I got solutions to change date in dd-mmm-yyyy format using tr but I guess it works only with the "date"... (8 Replies)
Hi
I wish to change date from one format to another in unix.
eg: INPUT DATE: 2013159 (YEAR & NUMBER OF DAY)
OUTPUT DATE required: 20130608 (YYYYMMDD)
how to do it ?
Thanks in advance. (6 Replies)
Hi all,
I have a file that every line starts with the date and time. The format is like YYYYMMDDHHMM and I woulk like to change it to MM/DD/YY<space>HH:MM.
I tried to figure out a way to do it with sed, but I don't know how I could reorganize the digits of the first format. Does anyone have any... (1 Reply)
Hi Guys,
I had a scenario like this..
It seems very silly...dont think it as a home work question.....:)
i tried it many ways but i didn't achieve this...
start_date=May122011
here i want to change the start_date in to 20110512
start_date=20110512
tell me how can we achive... (5 Replies)
Hi All,
this is my second post, last post reply was very helpful.
I have a data that has date in DD/MM/YYYY (07/11/2008) format i want to replace the backslash by a dot(.) so that my awk script can read it inside the C shell script that i have written.
i want to change 07/11/2008 to... (3 Replies)
I want to chnage the date format from the file format like below to
WT;T15D;0000007208;;20080401;3;0;0;3;;B;ZZZZZZ;
WT;T25D;0000007208;;20080401;6;0;0;6;;B;ZZZZZZ;
WT;T5D;0000007208;;20080401;123;0;0;123;;B;ZZZZZZ;
to
WT;T15D;0000007208;;04/01/200804;3;0;0;3;;B;ZZZZZZ;... (2 Replies)