Solved

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

Posted on 2003-12-11
1
455 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

792 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