I am trying to design a standard HR assistant which will give user an option to apply leaves. Now for this I have Date Period Entity but I am not sure how to validate this.
Need to validate that From Date should be greater than the present date.
Need to validate that To Date should be greater than the From Date.
I have attached snaps for your reference.