Ok, here's an example, it's up to you now to figure it out and fit it as desired.
And please stop bumping up and double posting questions as a loser or you'll be banned!
Regards
Last edited by Franklin52; 04-08-2008 at 08:44 AM..
Reason: edit code field must be $0 instead of $2
Hi,
I would like to convert the output from awk function to date and print on the screen.
Example : echo "Start Date: May 24 2010" | gawk -F": " '{print $2}'
Output : May 04 2010
I want this to be converted to 2010/05/24
Can i use date function here and how?
Thanks,
Deepika (2 Replies)
Hi all,
I require to convert julian date to normal calander date in unix
for eg julian date=122
now i want corresponding calander date
----------------------------------------
gr8 if give very small command/script
and please explain the steps as well(imp)
Thanks
... (3 Replies)
Seek help in coverting date from mm_dd_yy to mm_dd_yyyy.
I get a date in a file some thing file like this
09_14_11.pdf
Need to convert the same to
09_14_2011.pdf
:wall: (9 Replies)
Hi,
I have some files being sent to me that have dates in them in this format:
from
1/8/2011 15:14:20
and I need the dates in this format (mysql date format)
To
2011-01-08 15:14:20
all I have so far is the regexp that detects the format:
sed -r -e 's@\1/\2/\3\4\5\6]::$@do... (7 Replies)
Hi,
I would like to change the incoming date format (Jun 25 2010) to 06/25/2010. I have seen date "dconv" function but i am not sure how that works.
$ echo "Jun 25 2010" |
nawk ' { months=" JanFebMarAprMayJunJulAugSepOctNovDec";date=$1;month=index(months,substr($1,1,3))/3;
... (3 Replies)
Hi
I want to convert date from one format to the other i.e.
From
Thu Mar 6 15:57:39 2014
To
2014-03-06 15:57:39
Is there any direct command to implement this ? (1 Reply)
Hi,
I have a file where I need to change the date format on the nth field from DD-MM-YYYY to YYYY-MM-DD so I can accurately sort the record by dates
From regex - Use sed or awk to fix date format - Stack Overflow, I found an example using nawk.
Test run as below:
$: cat xyz.txt
A ... (2 Replies)