Duration of an order remained opened

Hi.

Can I get the duration for an operation? I can get the duration in minutes when I close a order that show how many minutes this order remained opened.

thanks

calculate it using OrderOpenTime, OrderCloseTime