How to get the users set of date format pattern strings? (3 replies)
Posted
on .NET 247
See other posts from .NET 247
Published on 08 Jan 2010 14:12:38
Indexed on
2010/03/07
23:55 UTC
Read the original article
Hit count: 277
Filed under:
I would like to get the current user's set of date format pattern strings as listed in the Control Panel regional settings applet. For my UK English system I see the following patterns listed: Short Date: dd/MM/yyyy dd/MM/yy d/M/yy d.M.yy yyyy MM dd Long Date: dd MMMM yyyy d MMMM yyyy If I use GetDateTimeFormats (d and D) the results match the expected patterns above, but of course they're the for...
© .NET 247 or respective owner