from datetime import date, datetime
import time

today = date.today()
mytime = datetime.utcnow()

# dd/mm/YY
d1 = today.strftime("%d/%m/%Y")
print("d1 =", d1)

# Textual month, day and year
d2 = today.strftime("%B %d, %Y")
print("d2 =", d2)

# mm/dd/y
d3 = today.strftime("%m/%d/%y")
print("d3 =", d3)

# Month abbreviation, day and year
d4 = today.strftime("%b-%d-%Y")
print("d4 =", d4)

t = time.localtime()
current_time = time.strftime("%H:%M:%S", t)
print(current_time)

from datetime import date, datetime
import time

today = date.today()
mytime = datetime.utcnow()

# dd/mm/YY
d1 = today.strftime("%d/%m/%Y")
print("d1 =", d1)

# Textual month, day and year
d2 = today.strftime("%B %d, %Y")
print("d2 =", d2)

# mm/dd/y
d3 = today.strftime("%m/%d/%y")
print("d3 =", d3)

# Month abbreviation, day and year
d4 = today.strftime("%b-%d-%Y")
print("d4 =", d4)

t = time.localtime()
current_time = time.strftime("%H:%M:%S", t)
print(current_time)

# dd/mm/YY # Textual month, day and year # mm/dd/y # Month abbreviation, day and year