0

Is there a way to use culture specific characters in a WPF-StringFormat? I'm trying to format a date to only show the month and the year separated by the culture specific ... uuh.. separator.

Here is my code:

Binding="{Binding StartDate.Value, StringFormat={}{0:MM.yyyy}, Converter={StaticResource StartEndDateTimeConverter}"

What would I use as a replacement for the dot?

Anonymous Coward
  • 856
  • 1
  • 11
  • 27
  • possible duplicate of [StringFomat Localization problem](http://stackoverflow.com/questions/520115/stringfomat-localization-problem) – ChrisF Jan 25 '11 at 11:39

1 Answers1

0

I found the solution. Instead of the '.' I should have been using the '/'-Symbol to separate the months from the years.

Anonymous Coward
  • 856
  • 1
  • 11
  • 27