3
Answers

C# Datagridview Date Column Format "01/01/2009 23:00" and Not "01/01/2009 11:00 PM"

Ask a question
ic ic

ic ic

15y
14.2k
1

Good day, I need help.
I have a datgridview Date column i would like Format "01/01/2009 23:00" and Not "01/01/2009 11:00 PM"
The closest I come is setting it to 01/01/2009 10:23 pm
I would like to display: 01/01/2009 22:23
The time is my problem, any ideas on formating the grid to show date
&time without the "PM" & in "23:00"
Please Assist.

Answers (3)