import datetime import time # Initializing a timestamp value Timestamp = 1323456464; # Calling the fromtimestamp() function datetime_From_Timestamp = datetime.datetime.fromtimestamp(Timestamp); print(datetime_From_Timestamp)