Dear Experts,
I need your help to convert a unix date and time format number in to readable format like dd/mm/yyyy .
I have a text file of more than 10,000 records and it is like
NAME DATE1 COUNTRY DATE2
ABD 1223580395699 USA 1223580395699
ABD 1223580395699 USA 1223580395699
ABD 1223580395699 USA 1223580395699
ABD 1223580395699 USA 1223580395699
ABD 1223580394340 USA 1223580387665
I need a unix shell script which will read the records from first line and till end of the file and should convert the unix date to readable format like "ddmmyy".
output should be like this
NAME DATE1 COUNTRY DATE2
ABD 14102008 USA 14102008
NAME 14102008 COUNTRY 14102008
Please tel me how i can achieve this by a unix shell script which can convert any unix datetime like 1223580395699 to a readable format like ddmmyyyy.
Thanks