TextBox Regex

Hi, I have a page where I need to save on db table a shedul time for each day of week
Sunday from 09:00 to 18:00
Monday from 09:30 to 18:00
and so on...
for each day I insert the start and stop time to do something. My question is, what is the best practice to format input? I thought to use a Text box and RegexValidator but I don't know how.
Any suggestions?

Thanks in advance.


Do you need help with the regular expression? Something like this could work: c# - Regular expression to validate valid time - Stack Overflow

1 Like

@korchev no thanks, I don't know how use RegexValidator control, or if there is another way, or best practice or so to do that.
If someone needs an "hour:minute" control what should they do? becouse in the radzen ide there is only dateTime control.

The DatePicker has time only mode.

@korchev thank you for your patience, but where I set time only mode in Radzen ide?

@enchev @korchev thanks! :blush: