How to display time without seconds in label? For example: 13:17
Thanks
Printable View
How to display time without seconds in label? For example: 13:17
Thanks
use lowercase hh instead of HH if you want a 12 hour clock instead of 24 hour clock.Code:Label1.Text = Now.ToString("HH:mm")