I have a problem when it comes to showing the time record, everything works perfectly, except when the date is 00:00
(right at midnight).
Example of this case; 2018-07-26 00:00:00.000
The value recovers well in the program but at the time of showing it to the user in a dataGrid
it only shows 2018-07-26
.
I applied a first idea; at the time of entering the record in BD
added a second. leaving something like 2018-07-26 00:00:01.000
, doing this if it showed in dataGrid
2018-07-26 00:00
, but it does not help me since I alter the operation of the program in several checks.
The question is, how can I show that complete date (with the time) in dataGrid
in cases of 00:00
?