Hi @sn
On the forum, we already have many topics about date constraint. Have you read them? I'm sure it should solve your problem.