I want to print date format when I type numbers but when I use module dateutil
parser it prints date with time, but I want only date. How to do it? The code:
from dateutil import parser
data3 = parser.parse(input("Date of birth (yyyymmdd): "))
print(data3)
Output:
1900-12-23 00:00