While I would have thought this was an easy one, it's just not working for me...
I have to find the difference in minutes between 2 datetime fields, here's an example of the info I have:
In a grouped field I have statuses with datetimes for each:
Open 7/12/2004 2:29:31PM
Assigned 7/13/2004 10:51:31AM
Responded 7/13/2004 1:31:43PM
Closed 8/17/2004 10:47:52AM
I need to first calculate the difference between the Open datetime and the first changed status in minutes. On another line I have to calculate the difference in minutes between the datetime from the Open status to the Closed status.
What I did was created a formula called Open_Time that says if the status is Open then datetime. I then created another for the first change saying datediff("n",Open_Time,datetime) and it's giving me 0.00.
I've created another formula called Closed_Time to display the datetime where the status is Closed. And another formula to get the difference between the Open status date and Closed status date by datediff("n", Open_time, Closed_time)...again, getting 0.00.
Any help would be much appreciated!
I have to find the difference in minutes between 2 datetime fields, here's an example of the info I have:
In a grouped field I have statuses with datetimes for each:
Open 7/12/2004 2:29:31PM
Assigned 7/13/2004 10:51:31AM
Responded 7/13/2004 1:31:43PM
Closed 8/17/2004 10:47:52AM
I need to first calculate the difference between the Open datetime and the first changed status in minutes. On another line I have to calculate the difference in minutes between the datetime from the Open status to the Closed status.
What I did was created a formula called Open_Time that says if the status is Open then datetime. I then created another for the first change saying datediff("n",Open_Time,datetime) and it's giving me 0.00.
I've created another formula called Closed_Time to display the datetime where the status is Closed. And another formula to get the difference between the Open status date and Closed status date by datediff("n", Open_time, Closed_time)...again, getting 0.00.
Any help would be much appreciated!