datetime format python example
Example: datetime python format
import datetime
x = datetime.datetime.now()
print(x.year)
print(x.strftime("%A"))
import datetime
x = datetime.datetime.now()
print(x.year)
print(x.strftime("%A"))