What time is it?

Report a typo

Suppose, we have the following datetime object:

from datetime import datetime


apollo_11 = datetime(1969, 7, 20, 20, 17)

We've formatted it into different strings. Match the resulting string with the format used.

Tip: Remember that formats are case sensitive: %y and %Y are not the same thing!

Match the items from left and right columns
%B, %d %Y
%d.%m.%y
%m/%d/%Y %H:%M
%d/%m/%Y %H:%M
%d.%m.%Y
07/20/1969 20:17
20.07.1969
July, 20 1969
20/07/1969 20:17
20.07.69
___

Create a free account to access the full topic