Im not sure if this is best place to put this but...
I have a table where date and time is stored in one field. It is stored in the following format:
dd/mm/yyyy dd:hh:mm:ss
The way the table works is that the date & time gets associated to a status code in the system. So for example a case (lets say ID is 12345) in the system may have a status assigned of ENQ with a date of 01/01/2008 00:00:00:00 and then another record for the same case (12345) where the status is WIP with a date of 15/02/2008 00:00:00:00.
What I need to do is do is a time taken calculation between the 2 dates and times but I am not sure of the best way to do it, if at all.
Any help would be greatly appreciated.
I have a table where date and time is stored in one field. It is stored in the following format:
dd/mm/yyyy dd:hh:mm:ss
The way the table works is that the date & time gets associated to a status code in the system. So for example a case (lets say ID is 12345) in the system may have a status assigned of ENQ with a date of 01/01/2008 00:00:00:00 and then another record for the same case (12345) where the status is WIP with a date of 15/02/2008 00:00:00:00.
What I need to do is do is a time taken calculation between the 2 dates and times but I am not sure of the best way to do it, if at all.
Any help would be greatly appreciated.