Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2730
UltraDatatimePicker Validation
posted

I want to do this in code .cs file Can some help write a regex datetime validation. I have two datetime controls, I want to validate that the datetime is a valid date and if not throw and error. I also want to throw an error if the datetime is outside of the range MIN and MAX review below.  the format I using as far as datatime goes, 'YYYYMMSS:hhmmss'  or can I force the user to stop typing in the datetime control, At the moment I can type in the datetime picker, I only want the user to pick from the datetime picker 

MIN date and Max Date

19670101 and 30000101

 Jan 01, 1967 and Jan 01, 3000