Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle ASP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle ASP Using ASP with Oracle databases. For Oracle discussions not specific to ASP, please see the Oracle forum. For more ASP discussions, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle ASP 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 22nd, 2005, 12:35 PM
Authorized User
 
Join Date: Jun 2004
Location: Aurangabad, Maharashtra, India.
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default Problem using TimeZone LocalTimeStamp

Hi there,

I have got a problem here. I am working with classic aps web application. This application is being used accross various timezones. Now I am facing problem when I trid to implement the TimeZone provided by oracle 9.1.

above is the query to setting up local timezone for a particular session

           "ALTER SESSION SET TIME_ZONE = '00:00"

This query is executed through a connection object of Adodb.Connection

Now What I expect it to do is, it should manupulate time accordingly while inserting.

if say the server runs on TimeZone '-05:00' then it should add 5 hours when I fire following query

     "INSERT INTO XTEST VALUES(LOCALTIMESTAMP, TRUNC(CURRENT_DATE))"

if say time at server is 10:00Hrs it should insert 15:00Hrs.
where as it picks up my own computer's time i.e. 21:30Hrs.

When I fire same queries from Oralce Client, works fine!

These all queries are fired against Oracle Database from Classic ASP using ADODB.Connection.Execute method.

Any suggestion?


Vinod Pawar
India
__________________
Vinod Pawar
United States
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
how to find the local timezone Tomi XSLT 0 July 26th, 2006 06:14 AM
timezone conversion swati_joshi ASP.NET 1.0 and 1.1 Professional 0 June 2nd, 2006 05:21 AM
Problem with LOCALTIMESTAMP vinod_pawar1 Oracle 0 December 22nd, 2005 12:05 PM
TimeZone Issue everest ASP.NET 1.0 and 1.1 Professional 1 November 3rd, 2005 01:54 AM
India TimeZone not listed deepak.vasudevan Forum and Wrox.com Feedback 0 September 2nd, 2005 02:34 AM



All times are GMT -4. The time now is 06:46 PM.


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