I just need to know how to update a time when someone imputs a short version.
such as, if i were to put "3a" in the label, i want it to automatically put in 3:00am.
Is there any way to do such a thing.?

Recommended Answers

All 2 Replies

Do you mean label?:confused:
To do this with a TextBox, in the TextChanged event handler,
parse the Text property for the short-cuts you want to support and replace as necessary.

Do you mean label?:confused:
To do this with a TextBox, in the TextChanged event handler,
parse the Text property for the short-cuts you want to support and replace as necessary.

Excuse me. I did say label in one part. I am using a text box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.