Entering Time Values

I need to enter time in CActiveForm in order to store it in MySQL format (like ‘14:00:00’).

I’d like to allow the following for 14:00:00:

  • 14:00

  • 14.00

  • 14

I also need to show time in 14:00 format in the "update" form.

What is the correct way to do this?

What’s up with validators?