I want to display the time in a label I want it in this format HH:MM Am I don't want to display seconds! How do I do that!?
Printable View
I want to display the time in a label I want it in this format HH:MM Am I don't want to display seconds! How do I do that!?
Use the Format function.
Code:Label1.caption = Format(Time, "HH:MM AMPM")