0

best way to input date from user in python?

10th Jan 2018, 7:36 AM
Arjun Saini
Arjun Saini - avatar
3 odpowiedzi
+ 1
Tell them the format in which they have to input. It's normally DD/MM/YYYY
10th Jan 2018, 7:52 AM
Tim Thuma
Tim Thuma - avatar
0
but it should be a valid date of a valid month... and each month doesn't has the same no. of days too?
10th Jan 2018, 7:53 AM
Arjun Saini
Arjun Saini - avatar