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
419
editor which can handle -99:59 to +99:59 time values
posted

I have a requirement for a time (hours and mins) field which could take in positive as well as negative values, also its not limited to 24 hours.

I tried emulating the above using the UltraDateTimeEditor, but failed.

Then i used the MaskedEditEdit with a mask +nn:nn and did some validations on the mins entry to be less than 60. Its alrite for positive values but not good for negative values.

I am not sure whether my approach is right or wrong. Is there are better and easier way ??