Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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, 2004, 03:45 PM
Friend of Wrox
Join Date: Jul 2003
Location: , , .
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date format in ASP and in SQL 2000 Database

Hi All,

I have alway known that there is an issue when it comes to dates format. Here is what my ASP page does. It contains a text box where users will input their birthday date in mm/dd/yy format. The datatype of the date field in SQL is "datetime." The data looks fine after I have submitted the date into the database(ie. 02/16/88).

Now my question is, if I were to create another ASP page where I enter a birthday to search for, let say birthday >= to 02/16/88, how would I code that? Can I simply do something like:

Select from databasename where birthday_field >= "birthday_search_input"

THanks in advance for your help.


Reply With Quote
  #2 (permalink)  
Old December 23rd, 2004, 12:57 AM
Friend of Wrox
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel


http://vyaskn.tripod.com/searching_date_time_values.htm -- you might
want to read this.

Best Regards

Reply With Quote

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
ASP Date Format apollon10 ASP.NET 3.5 Professionals 1 November 13th, 2007 05:54 AM
Sql Insert -- date format issue feets Access VBA 2 June 12th, 2007 12:11 PM
retrieve date with format (M Y) form database php Mahmoud82 PHP How-To 2 November 30th, 2006 07:10 AM
SQL DATE-Format Problem Fritz Oracle 1 August 26th, 2005 07:14 AM
date format in ASP ? mateenmohd SQL Server 2000 8 February 22nd, 2004 01:17 AM

All times are GMT -4. The time now is 10:37 AM.

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