For the developed application, we use the format "G"
everywhere in our application.
We want to change this format a bit:
We need to display the first digit after the second.
Example:
07/29/2014 08: 54: 36.1
We would like to be able to change this into CurrentCulture
.
This is the only thing we want to change in the current culture, therefore, if earlier, we had the following format:
2014/07/29 08:54:36 AM
Then we want to have
2014/07/29 08: 54: 36.1 AM
If before I had
07/29/2014 08:54:36
Then we want to have
07/29/2014 08: 54: 36.1
It would be nice if DateTime
, which we get does not have a digit that will be displayed here (= 0 tenth of a second), so that it does not appear.