You can use 12 if statements to check for the correctness of dates. For the
year you would only be needed to check the type. To insert "/" you should
return your own data type. That is make a class that returns a string of
the format "dd/mm/yy"
using parameters of date, month and year. As for not g
Hi, I'm creating a registration form and I found this script that I'd like to
use to have my participants to input their birth date:
import tkinter as tk
class DateEntry(tk.Frame):
def __init__(self, parent, **kwargs):
years = kwargs.pop('years', (1900, ))
super().__init