Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 1st, 2006, 06:07 AM
Registered User
Points: 1,897, Level: 17
Points: 1,897, Level: 17 Points: 1,897, Level: 17 Points: 1,897, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Mumbai, Maharastra, India.
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Date and Time Problem.

Hi all,

I have a database field (deliver_date) which stores date entered by user.
another two numeric fields(deliver_time_hh, and deliver_time_mm) which stores hh and mm in 24 hr format,

and newly added field (ActualDelivery) which stores date and time with NOW() function e.g. "05/31/2005 01:10:12 PM".

Now, problem is that i have to compate deliver_date,deliver_time_hh, and deliver_time_mm with ActualDelivery and get records in which
estimated is greater then actual. Since comparision has to be made in date and time.

In short, i need to convert deliver_date,deliver_time_hh, and deliver_time_mm to a single date whose formate is same as ActualDelivery and compare to ActualDelivery.

Any idea?
Thanks in advance.

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
Reply With Quote
  #2 (permalink)  
Old June 6th, 2006, 06:00 AM
Authorized User
 
Join Date: Feb 2006
Location: Verona, Italy, Italy.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi rupen

... post your code !

Steweb




Visit my web site !
www.steweb.net
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
date-time problem naveed77 Beginning VB 6 0 February 3rd, 2007 11:43 AM
date-time problem naveed77 Beginning VB 6 0 February 1st, 2007 07:13 AM
problem displaying records in order of time ,date method PHP Databases 3 July 25th, 2006 08:16 PM
print time and date problem zouky Crystal Reports 0 November 11th, 2004 10:32 PM
Date And Time Problem tsukey PHP Databases 0 July 28th, 2004 10:44 PM



All times are GMT -4. The time now is 10:31 PM.


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