how would you (in vbscript) compare times like this:



if (time1 - time2) > 60minutes then

code code code code code code code

end if

so basically i want to do something only if the 2 times are less then 1 hour apart.

thanks in advance for any help.