I want to convert epoch like "26/11/05 06:00:01,057000000" to yyyy-mm-ddThh:mm:ss using linux?
I have tried using the following script with no luck:
echo 26/11/05 06:00:01,057000000 | awk '{ print strftime("%Y-%m-%d %H:%M:%S",$1) }'
Output:
1970-01-01 01:00:26