>My goal here is to get the number of hours that have elapsed between two datetime variables. One variable is set to the current datetime(), the other datetime variable is pieced together from the date and time a file was last modified. If I just subtract the two datetimes it gives me a very odd number. Thanks in advance.
>
>Justin
Substracting one datetime value from another gives the number of seconds between them. You've to divide it by 3600 to convert it into hours.
--sb--