All challenges
Multiple ChoiceBeginner 30s

datetime.now

Choose the best answer for: getting current time
Options
  1. 1datetime.datetime.now() returns current local datetime
  2. 2datetime.current() returns the local time as a string
  3. 3datetime.datetime.today() returns the current UTC datetime
  4. 4datetime.now() is a module-level function returning local time

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle