Answers for "convert integer unix to timestamp python"

1

convert integer unix to timestamp python

import datetime
print(
    datetime.datetime.fromtimestamp(
        int("1284105682")
    ).strftime('%Y-%m-%d %H:%M:%S')
)
Posted by: Guest on November-16-2020

Code answers related to "convert integer unix to timestamp python"

Python Answers by Framework

Browse Popular Code Answers by Language