views:

36

answers:

1

Date formatting has always been a pain because it defaults to the American MM/dd/yyyy. How do I set the default culture for a Silverlight 4.0 client? It would be best, but not essential, if this was based on the user's regional settings.

Applying a format string or converter to every date field is not ideal.

+2  A: 

Read Localizing Silverlight-based Applications, it should explain your options. Also check out StringFormat and CurrentCulture in Silverlight by Tim Heuer.

Denis