Hi All,
I have a custom content model.
I have written a constraint having datatype "datetime".
But the problem is in this datatype someone can give future date .
My requirement is to validate the date so nobody can give any future date.
Is it possible to get the system date and time while setting the time in that field.
Please guide me how can I achieve this.
Thanks in advance,
Abhashree