 <p>To change date-time format take a look at this <a href="http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/263d73b2-8611-4398-9f09-9aa76bbf325e/" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/263d73b2-8611-4398-9f09-9aa76bbf325e/</a></p> <p>You basically need to use native Win API method <code>SetLocaleInfo</code>.</p>