I have unix command
echo 1378312014 | xargs -L 1 -I '{}' date -d "@{}" "+%d-%m-%Y-%H-%M"
equivalent output is 04-09-2013-17-26
Is there any python in build library that can convert 1378312014
to 04-09-2013-17-26
I am completely new to python, but I don't want to use os.popen or subprocess because they are running unix commands. I want to know if I can do it in python datetime library.