What is returned by datetime(1970, 1, 1).strftime('%Y-%d-%B') in Python?
Answers
Answered by
5
Answer:
1970-01-Jan
Explanation:
What is returned by datetime(1970, 1, 1).strftime('%Y-%d-%B') in Python?
Datetime will instance of object of class datetime.
strftime is use for display in Python.
You need to import datetime method.
Y - > Year in syntax
d - > Day in syntax
B - > Month in syntax
This will result in ==> 1970-01-Jan
Similar questions