Hi Guys,
Having an issue, basically I am using the code below on a Timer to display a live clock
But I'd also like to display AM or PM on that, but I can't work out how. I've tried adding AM:PM and variations of this, I know this is probably obvious but if anyone could tell me that'd be brilliant!
Thanks,
Ryan
Having an issue, basically I am using the code below on a Timer to display a live clock
Code:
Dim time As DateTime = DateTime.Now
Dim format As String = "dddd d MMMM yyyy hh:mm:ss"
lblClock.Text = time.ToString(format)Thanks,
Ryan