You can define the mask property
of the MaskedTextBox component to match the format you are referring. It would be similar to the following.
I have also assembled a small dojo illustrating the behavior.
Give it a try and let me know how it works for you.