Link to home
Start Free TrialLog in
Avatar of Jimbo99999
Jimbo99999Flag for United States of America

asked on

VB.Net - Easiect Way to Compare Datess With Time

Good Day Experts!

I have the ever popular question about how to compare 2 dates...one is a SQL table date and the other is Date.Now.  

Here is a sample of the SQL table date:
3/21/2014 1:12:29 PM

Date.Now:
3/21/2014 3:42:13 PM

What I need to do is to add 1hr and 20minutes to the SQL table date and then compare it to Date.Now.  

Can you help point me in the right direction?

Thanks,
jimbo99999
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jimbo99999

ASKER

Hello...yes, I have it in a variable.  I will try out now.

Thanks,
jimbo99999