AnsweredAssumed Answered

getting the valid date in datetime datatype

Question asked by abhashree on Feb 7, 2012
Latest reply on Feb 19, 2012 by hemantkpn
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,