Reputation: 12712
Is there a easy way to convert a DateTime object to a string representation like this '2010-03-03 10:38:48'.
I'm not sure what the above format is but it is different from the patterns obtainable via ToLongTimeString() etc.
Is this a case for string builder?
Upvotes: 5
Views: 265