473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

date problems with interdev objects

Hi,

I have an asp site web with connections to a SQL server database.
All works ok in a Server of USA, I have changed to a new server in UK
and I have configured the new server as the USA server, OS settings and SQL
settings.

But now, only in interdev code, when i show a date field of database show
with format:
dd/mm/yy
This is a big issue for me, because all functions and code works with
format:
mm/dd/yy, and now there are a lot of problems.

I can't change the code of the web, and i think that there are a setting of
OS or SQL that solve this issue.

I have been seeking and revising a lot this problem, and the final settings
are:
The local OS setting is US_English
The user connection to SQL setting is English
The collation of Database is the same of USA server.

I think the problem is in Interdev code, with a lost parameter, or in a
internal setting of OS, because if i do a asp page with a simple connection
to a database the result show date in USA_format, only with pages done with
Interdev.

Some idea?

Thanks a lot!

Nov 9 '05 #1
2 1341
look up LCID
http://msdn.microsoft.com/library/de...1d6bde7f5a.asp

"josepe" <jo***@floraqueen.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
Hi,

I have an asp site web with connections to a SQL server database.
All works ok in a Server of USA, I have changed to a new server in UK
and I have configured the new server as the USA server, OS settings and
SQL settings.

But now, only in interdev code, when i show a date field of database show
with format:
dd/mm/yy
This is a big issue for me, because all functions and code works with
format:
mm/dd/yy, and now there are a lot of problems.

I can't change the code of the web, and i think that there are a setting
of OS or SQL that solve this issue.

I have been seeking and revising a lot this problem, and the final
settings are:
The local OS setting is US_English
The user connection to SQL setting is English
The collation of Database is the same of USA server.

I think the problem is in Interdev code, with a lost parameter, or in a
internal setting of OS, because if i do a asp page with a simple
connection to a database the result show date in USA_format, only with
pages done with Interdev.

Some idea?

Thanks a lot!

Nov 10 '05 #2
Some relevant links for you:

It says yyyy-mm-dd for Access and yyyymmdd for SQL Server:
How do I delimit/format dates for database entry?
http://www.aspfaq.com/show.asp?id=2023

It says yyyymmdd for SQL Server:
Could I get a little help with dates?
http://www.aspfaq.com/show.asp?id=2040

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

<<
Hi,

I have an asp site web with connections to a SQL server database.
All works ok in a Server of USA, I have changed to a new server in UK
and I have configured the new server as the USA server, OS settings and
SQL
settings.

But now, only in interdev code, when i show a date field of database
show
with format:
dd/mm/yy
This is a big issue for me, because all functions and code works with
format:
mm/dd/yy, and now there are a lot of problems.

I can't change the code of the web, and i think that there are a setting
of
OS or SQL that solve this issue.

I have been seeking and revising a lot this problem, and the final
settings
are:
The local OS setting is US_English
The user connection to SQL setting is English
The collation of Database is the same of USA server.

I think the problem is in Interdev code, with a lost parameter, or in a
internal setting of OS, because if i do a asp page with a simple
connection
to a database the result show date in USA_format, only with pages done
with
Interdev.

Some idea?

Thanks a lot!


*** Sent via Developersdex http://www.developersdex.com ***
Nov 10 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Bruce W...1 | last post by:
I've got the latest Visual Studio and have been doing ASP.NET websites. Now I want to do a traditional ASP (not .NET) website. I gather that these are done with Visual Interdev. Is Visual Studio...
2
by: CM | last post by:
Hi, there: I cannot create new web ASP application with Visual InterDev 6.0. The error message is: Server error: Authoring is disabled for this server. Use the Server Administrator to enable...
8
by: Raghuraman | last post by:
Hai ! I use the Grid control with the data environment and the recordset control by dragging from the data env. But if i run the page alone in the iexplorer it tells the error like pm.script...
8
by: James Baker | last post by:
I've always used some "third party" editor, such as dreamweaver, coldfusion, or even notepad to build ASP pages. I've recently acquired a copy of Interdev and I'm wondering how people feel about...
7
by: SÁRINGER Zoltán | last post by:
hi, When I open the connection to a JET database, I get 80004005 "unknown error". I know, it's usually permission problem, but I added all users to the db directory, and have this error only if...
0
by: Will Walsh | last post by:
I have a fairly complex Visual Interdev application, communicating with SQL Server 2000 via DNS, using Data SHAPEing from MDAC, and employing WSC which are registered as COM Objects. I am...
4
by: margaret | last post by:
I was trying to load an old project and .NET 2003 complained about this .vip file. According to Windows Explorer, it's a Visual InterDev project. For the life of me, I can't remember/figure out...
3
by: Wanjun Yu | last post by:
Is FrontPage Server required for using InterDev? I am a beginner. When I tried to create a project, the wizard showed that MS FrontPage Server Extentions have to be running on the server. I was...
16
by: Lance Wynn | last post by:
Hi all, I got a new computer that is running XP Home, and is to be used for the family as well as for me to do some work from home. I want to keep XP Home, but I am having a problem getting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.