Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2005, 07: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




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 3rd, 2009 12:53 AM
Convert British format date to American format? fyr PHP How-To 0 December 19th, 2007 03:17 PM
How to give Date format while entering date Subuana Beginning VB 6 4 March 17th, 2006 07:25 AM
date format differs, need to force format somehow patricolsson HTML Code Clinic 2 January 12th, 2006 05:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.