C
CCLeasing
i'm currently using the following code without any problem.
txtTime.Text = DateTime.Now.ToString("t")
however, i want the time to be displayed with am or pm after it.
so for instance instead of 15:32, 3:32 pm
how do i do this?
Many Thanks.
txtTime.Text = DateTime.Now.ToString("t")
however, i want the time to be displayed with am or pm after it.
so for instance instead of 15:32, 3:32 pm
how do i do this?
Many Thanks.