You can also use the "O" or "o" standard format format string if you don't mind the partial seconds being included too.
MSDN lists all the standard and custom format strings for dates, times and numbers. That's always the first place you should look.




Reply With Quote