Hi All or PHV,
Is there a way to covert a unix timestamp to '%Y%m%d %H%M'
for eg 1080145459 must result to "20040324182419" or "2004/03/24/18:24:19"
I have tried the following and works well, but cannot get the date format that I require.
echo "od1080145459=Y|adb | tr -d '\011' and the result is
2004 Mar 24 18:24:19
Can AWK do something like this?
Many Thanks
Chris
Is there a way to covert a unix timestamp to '%Y%m%d %H%M'
for eg 1080145459 must result to "20040324182419" or "2004/03/24/18:24:19"
I have tried the following and works well, but cannot get the date format that I require.
echo "od1080145459=Y|adb | tr -d '\011' and the result is
2004 Mar 24 18:24:19
Can AWK do something like this?
Many Thanks
Chris