Hi
I have two fields: DateOne and DateTwo. Example of typical field data '14/12/2000 14:32:31' and '17/12/2000 10:05:01'. What I need to do is calculate the time elapsed since date one and date two in hours. I can easily calculate the number of hours using only 14/12/2000 and 17/12/2000 but when I try and compare the date and time together (which is what I need) I cant do it!
Please can someone help as its driving me nuts!!
Example.
13/12/2001 14:00:00 compared with 13/12/2001 15:00:00
would return: 1 hour.
12/12/2001 14:00:00 compared with 13/12/2001 16:00:00 would return: 26 hours.
I have two fields: DateOne and DateTwo. Example of typical field data '14/12/2000 14:32:31' and '17/12/2000 10:05:01'. What I need to do is calculate the time elapsed since date one and date two in hours. I can easily calculate the number of hours using only 14/12/2000 and 17/12/2000 but when I try and compare the date and time together (which is what I need) I cant do it!
Please can someone help as its driving me nuts!!
Example.
13/12/2001 14:00:00 compared with 13/12/2001 15:00:00
would return: 1 hour.
12/12/2001 14:00:00 compared with 13/12/2001 16:00:00 would return: 26 hours.