469,085 Members | 1,013 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,085 developers. It's quick & easy.

How to change dateformat during runtime in vb.net

Hi all

I am using following code to change regional setting at run time
its not giving any error but at the same time the format of date is not changing.

Dim DateFormat As New System.Globalization.DateTimeFormatInfo
DateFormat.ShortDatePattern = "mm/dd/yyyy"

Please help me
Jul 30 '07 #1
0 1261

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Markus Stehle | last post: by
4 posts views Thread by newtophp2000 | last post: by
3 posts views Thread by dzenanz | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.