TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
aamirislam
NA
1
0
DataTime display formats for cultures en-US and en-GB are same?
Jun 17 2004 10:21 AM
Hi all, Following is part of my code from a simple Windows Form. All I want is to display the current date in British format (dd/mm/yy), but despite providing the culture info for en-GB, the form still displays the date as mm/dd/yy. Please assist. CultureInfo ci = new CultureInfo("en-GB"); MessageBox.Show("the date is: "+System.DateTime.Today.Date.ToString("d", ci)); Best Regards Aamir P.S. I will highly appreciate a quick help P.P.S. The above code works fine if the CultureInfo is set to be of German standard "de-DE". It demonstrates the date as dd/mm/yyyy. Is the reason for not showing the British format as dd/mm/yy a flaw in the culture definition???
Reply
Answers (
0
)
Accessing Controls From a Class
locations based application