When creating a table in postgres of type time its very simple to set a time check, to make sure that what is entered has to be between two times like so:
extime TIME NOT NULL,
check(extime > '09:00:00' and extime < '18:00:00')
I want to do something similar with a date field
exdate DATE NOT NULL,
to have it between the beginning and end of june.
is anybody able to give me some help?