Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 1st, 2006, 06:07 AM
Registered User
Join Date: Apr 2005
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.
Old June 6th, 2006, 06:00 AM
Authorized User
Join Date: Feb 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts

Hi rupen

... post your code !


Visit my web site !

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

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