Is there a way to change the format of midnight to say 2400? When I use time.ToString("HHmm"), it comes up as 0000.
Printable View
Is there a way to change the format of midnight to say 2400? When I use time.ToString("HHmm"), it comes up as 0000.
Hi,
The problem is midnight is 00:00. There is no 24:00.
You could use the string replace function if the first 2 characters of the time string = "00"
Curt