Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DatePicker and Date Format
Message
From
17/12/2012 09:50:27
 
 
To
All
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
DatePicker and Date Format
Miscellaneous
Thread ID:
01559889
Message ID:
01559889
Views:
65
Hi,

Using .Net 4.0 XAML and C#
<TextBox Grid.Column="3" Grid.RowSpan="1" Margin="0" Name="txtIssue" Text="{Binding cus_issue, StringFormat=d, Mode=Default}" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
If I have a date like 30th October 1998 it displays in the textbox like 10/30/1998 which is incorrect according to my culture settings. It should be 30/10/1998.

I don't believe that my code sets any culture specific layout for dates, but I am using a framework (Mere Mortals .NET) so do not know everything about it.

Can someone tell me what I should be looking for that controls this setting?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform