Windows Xp date problem

  • Thread starter Luis Esteban Valencia
  • Start date
L

Luis Esteban Valencia

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top