neilakoga
Member
- Joined
- Nov 25, 2007
- Messages
- 7
- Programming Experience
- 1-3
ok so i've got one time in my sql database which i want to compare to the current time now. if the current time is 2 hours greater than the original time in te database i need to do something.
ie - if difference between time1(original datetime from database) is greater than 2 hours difference from time2(datetime now) then ...
do something
end if
I'm sure it's simple and my syntax is struggling in the 2 hours area, how would i represent 2 hours as a comparison?
ie - if difference between time1(original datetime from database) is greater than 2 hours difference from time2(datetime now) then ...
do something
end if
I'm sure it's simple and my syntax is struggling in the 2 hours area, how would i represent 2 hours as a comparison?