Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 2nd, 2005, 06:34 AM
Authorized User
 
Join Date: Jan 2005
Location: Sao Paulo, SP, Brazil.
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date Format - Local x Server

Hello Everyone!

I had a curious problem populating a date field in a database (Access) on my web server: using LCID=1033 (US data formats) in my asp pages, when I sent (say) 11/10/2005 (meaning 10 Nov 05) I realized that the date populated in my Access database was considered 11 Oct 05 (mmm-dd changed to dd-mmm)... why?  Because my web server is located in Brazil and "their Access" uses Brazil´s LCID!

If you have this kind of trouble, use the ISO format, understood by "all Access databases" uniformly! To understand the "Date format database on the server" problem and this solution better, go to

http://www.4guysfromrolla.com/ASPScr...022202-1.shtml

Cheers,
fskilnik
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
date format differs, need to force format somehow patricolsson ASP.NET 2.0 Basics 1 December 2nd, 2009 11:53 PM
Convert British format date to American format? fyr PHP How-To 0 December 19th, 2007 02:17 PM
How to give Date format while entering date Subuana Beginning VB 6 4 March 17th, 2006 06:25 AM
date format differs, need to force format somehow patricolsson HTML Code Clinic 2 January 12th, 2006 04:55 AM



All times are GMT -4. The time now is 03:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.