Solved

Current Windows XP Date format (eg, dd/MM/yyyy)

Posted on 2003-12-11
1
451 Views
Last Modified: 2010-05-18
Hi

My Windows XP's regional Date format was customised (although using en-US) to
dd/MM/yyyy (instead of M/d/yyyy).

How can my VB .net program retrieve this setting for date format & validation purpose ?

Thanks & Rgds
Heng03
0
Comment
Question by:heng03
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 75 total points
ID: 9920041
System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern.ToString
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now