Jul 08, 2020 09:39 AM|PaulTheSmith|LINK
At this point, 'thedate' is the wrong format:
When it is in the datatable it is still a DateTime - it doesn't have a format yet. A DateTime data type is just a big number - something like the number of centiSeconds since a fixed point in time. It is only when you convert to a string that this number
acquires what most people think of as a format.
The debugger will display it using a format. Are you talking about what you see in the debugger?
Or is the DateTime being shown by some sort of control on a web page? What sort of control? raw html control? webForms control? Bootstrap control? something else? How do you set the value of the control from what is in the datatable (there is probably
some sort of 'binding' that you use - what is it?)