Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Month switches with Day when inserting to the db

Status
Not open for further replies.

eyal

Programmer
May 15, 2000
38
IL
Hi,
I got this problem, on my asp page I insert a date to the database (access XP), before I insert the date I response.write on the page and the date shows fine, after the date is in the database the month and the day are switched, for example, March 4th 2003 which represents as 04/03/2003 (israeli time format which shows correctly on the response.write) will switch to 03/04/03 in the database (April 3rd). If I enter dates that cannot be switched such as March 15, the date will show correctly also in the database.
Any ideas?
Thanks,
Eyal
 
faq333-3194 Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top