Solved

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

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

Title # Comments Views Activity
SQL Exceptions 3 45
Capture logon name 13 73
open System.IO.Compression.ZipArchiveEntry as ZipFile without storing to file 2 59
Search an image for an image 3 30
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…
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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