If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Nls_date_format

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-05, 11:34
tigga12 tigga12 is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Nls_date_format

I am using the code below to set tyhe NLS_DATE_FORMAT
Set AltSess = Server.CreateObject("ADODB.Connection")
AltSess.open strConn
AltSess.Execute "ALTER SESSION SET NLS_DATE_FORMAT = 'DD/MM/YY'"

This change appears to be being overridden. I can alter the NLS_DATE_FORMAT in sql plus and it sticks but not from the vb in my web pages. Any ideas on how i can force the NLS_DATE_FORMAT to stay dd/mm/yy? Thx.
Reply With Quote
  #2 (permalink)  
Old 11-15-05, 17:49
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Hopefully these will help:

How do I delimit/format dates for database entry?
http://www.aspfaq.com/show.asp?id=2023

Could I get a little help with dates?
http://www.aspfaq.com/show.asp?id=2040
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On