By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,254 Members | 2,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,254 IT Pros & Developers. It's quick & easy.

Windows Xp date problem

P: n/a

Hi,

I am using windows 2000 Pro with SP4 for development and database is
access2000. Regional Setting is as follows:

Regional Options:
Your locale(location): English United States
short date format: M/d/yyyy
long date: dddd, MMMM dd, yyyy

In Access date/time filed set to MediumDate

In aspx forms page option as;
<%@ Page Language="vb" codePage="1256" culture="ar-AE" uiCulture="ar-AE"%>

Im retriving user input date as follows;

Dim txtIn As String = Month(txtIN.Text) & "/" & Day(txtIN.Text) & "/" &
Year(txtIN.Text)

and insert into table;

suppose user enter 05/01/2005 then I get 05-Jan-2005 in table in correct
format.

THe problem is that, when I moved the program Windows XP pro SP1 and did
same settings as described above,

I get date in the table wrong way.

suppose user enter 05/01/2005 then I get 01-May-2005 instead of expected
05/jan-2005. I expect 05-jan-2005 here like I got in win2000.

How can I solve the problem? What settings need to be changed?

COuld anyone help to overme this problem?

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.