PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
Which of the following functions can be used to find the coordinated universal time, assuming that the datetime module has already been imported?
A. datetime.utc()
B. datetime.datetime.utc()
C. datetime.utcnow()
D. datetime.datetime.utcnow()
Show Answer
Next Question
Correct Answer:
D
Explanation: The function datetime.datetime.utcnow() can be used to find the UTC (Coordinated Universal Time), assuming that the datetime module has already been imported. The other function s shown above are invalid.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap