Is there a culture-safe way to get ToShortDateString() and ToShortTimeString() with leading zeros?

Viewed 14705

I know that I could use a format string, but I don't want to lose the culture specific representation of the date/time format. E.g.

5/4/2011 | 2:06 PM | ... should be 05/04/2011 | 02:06 PM | ...

But when I change it to a different culture, I want it to be

04.05.2011 | 14:06 | ...

without changing the format string. Is that possible?

5 Answers
Related