Forum Discussion
Anonymous
5 years agoNot applicable
How to find the time difference between columns
Hi Everyone,
I have two columns which is a time format HH:MM:SS AM/PM. One is when the order was placed and second when the order was completed. I want to find out how long does it take to complete the order. Please advise.
Thanks.
Hi Anonymous
Subtract the start time from the end time.
TimeDiff = 'Times'[End] - 'Times'[Start]Regards
Phil
Anonymous ,
Two way If you need time
Time = [Datetime2] -[Datetime1]
Diff in second= datediff([Datetime1],[Datetime2],second)
2 Replies
- PhilipTreacy
Super User
Hi Anonymous
Subtract the start time from the end time.
TimeDiff = 'Times'[End] - 'Times'[Start]Regards
Phil
- amitchandak
Super User
Anonymous ,
Two way If you need time
Time = [Datetime2] -[Datetime1]
Diff in second= datediff([Datetime1],[Datetime2],second)