<human>:  Python: Converting Epoch time into the datetime
<bot>: Here is some code to convert unix timestamp '1347517370' to formatted string '%Y-%m-%d %H:%M:%S'

time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(1347517370))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.