Single Choice Not Set

QWhat does the following statements do?

from datetime import *
print(datetime.today().strftime('%Z'))

ID: #3590 Python Module MCQ 212 views
Question Info
#3590Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Displays the timezone offset from UTC as +HHMM or -HHMM
  • B Displays the timezone name
  • C Displays the abbreviated month name
  • D Displays the full month name
Correct Answer

Explanation

Displays the timezone name

Share This Question

Challenge a friend or share with your study group.