Answers for "how to display time using python"

0

get time python

from datetime import datetime

date = datetime.now()
print(date)
# Prints in the format: year, month, day, hour, minute, second and microsecond
Posted by: Guest on February-15-2021
1

time in python code

import datetime

x = datetime.datetime.now()

print(x)
Posted by: Guest on April-04-2021

Code answers related to "how to display time using python"

Python Answers by Framework

Browse Popular Code Answers by Language