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 | 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 May 28th, 2004, 10:03 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default DateFormat Problem

How can i convert the date on the format(dd/mm/yyyy or dd/mm/yy) to oracle's date format dd/mmm/yy before inserting a record? is there any javascript/vbscript function available? pls guide me.

Thankx!


Yours,
Saran
__________________
Best Regards,
Saran.
  #2 (permalink)  
Old May 28th, 2004, 02:09 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

You could use some kind of String mnipulation to reorder the string elements, or you could use the Date object to split out the components as well. Although why not just use the Oracle TO_DATE and TO_CHAR functions to convert your date as part of the SQL ?
  #3 (permalink)  
Old June 8th, 2004, 07:47 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default

thanks greg,
  now it's working. i use to_date like "To_Date(sysdate)"
thank u!
Quote:
quote:Originally posted by Greg Griffiths
 You could use some kind of String mnipulation to reorder the string elements, or you could use the Date object to split out the components as well. Although why not just use the Oracle TO_DATE and TO_CHAR functions to convert your date as part of the SQL ?
Yours,
Saran
 


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
Set DateFormat kokisun Reporting Services 1 July 12th, 2006 02:13 PM
saves wrong dateformat in Access Haroldd Access ASP 2 July 23rd, 2003 03:30 AM



All times are GMT -4. The time now is 06:43 AM.


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