Hello,
I am trying to subtract records in a table which are in two different rows. It might be an easy one however i cant seem to do it the right way i guess.
Eg: I have a column called EventDateTime which has multiple values in it
EventDateTime
9/19/2012 5:11:07AM
9/19/2012 5:11:55AM
9/19/2012 5:20:13AM
9/19/2012 5:30:16AM
I want a formulae to subtract the second entry (9/19/2012 5:11:55AM) from the first one (9/19/2012 5:11:07AM) and give me the result in the difference in the same format 9/19/2012 0:00:48AM.
How can i get this done?
Just for the background, these are time fields from the Cisco ACD system and i want to calculate the agent state details, which is to calculate the time an agent was in ready state and when he changed the state from ready to work.
CAn someone please help me with this issue?
I am trying to subtract records in a table which are in two different rows. It might be an easy one however i cant seem to do it the right way i guess.
Eg: I have a column called EventDateTime which has multiple values in it
EventDateTime
9/19/2012 5:11:07AM
9/19/2012 5:11:55AM
9/19/2012 5:20:13AM
9/19/2012 5:30:16AM
I want a formulae to subtract the second entry (9/19/2012 5:11:55AM) from the first one (9/19/2012 5:11:07AM) and give me the result in the difference in the same format 9/19/2012 0:00:48AM.
How can i get this done?
Just for the background, these are time fields from the Cisco ACD system and i want to calculate the agent state details, which is to calculate the time an agent was in ready state and when he changed the state from ready to work.
CAn someone please help me with this issue?