For an application we develop, we use the "G"
format everywhere in our application.
We want to change a little bit this format:
We need to display the first digit after the second.
Ex:
29.07.2014 08:54:36.1
We would like to be able to change this in the CurrentCulture
.
It's the only thing we want to change in the current culture, so if before, we were having the following format:
2014/07/29 08:54:36 AM
We then want to have
2014/07/29 08:54:36.1 AM
If before I was having
29.07.2014 08:54:36
We then want to have
29.07.2014 08:54:36.1
A nice to have would be, that if the DateTime
we receive, doesn't have a digit to be displayed here( =0 tenth of seconds), to don't have this displayed.