Single Choice Not Set

QWhat does the following statements do?
from datetime import *
print(datetime.today().strftime('%z'))

ID: #3591 Python Module MCQ 352 views
Question Info
#3591Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

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

Explanation

Displays the timezone offset from UTC as +HHMM or -HHMM

Share This Question

Challenge a friend or share with your study group.