Forum Discussion
Calculating Duration in Minutes & Seconds between 2 Columns
- 8 years ago
Does DATEDIFF(SessionIDTime, SessionEndTime, second) produce a correct value for the number of seconds of each call? If so that's half the battle, you can then look to get the number of minutes of the call by using something like quotient(newcolumnwejustmade, 60)
edit - and the number of seconds similarly except using mod rather than quotient
Does DATEDIFF(SessionIDTime, SessionEndTime, second) produce a correct value for the number of seconds of each call? If so that's half the battle, you can then look to get the number of minutes of the call by using something like quotient(newcolumnwejustmade, 60)
edit - and the number of seconds similarly except using mod rather than quotient
Thanks jthomson - apparently not as some of the calls, somehow, have a start date greater than the end date...
- v-chuncz-msft8 years ago
Community Support