Solved

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

Posted on 2003-12-11
1
449 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
Comment Utility
System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern.ToString
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

9 Experts available now in Live!

Get 1:1 Help Now