Calculate time difference (Subtract the time range 10PM to 9AM) between two datetime fields using django annotate?

后端 未结 0 1320
后悔当初
后悔当初 2020-12-08 22:04

I have to calculate the time difference between to DateTime fields, also keeping in mind to subtract the time frame 10 PM-9 AM for each transaction if it lies in.

The

相关标签:
回答
  • 消灭零回复
提交回复
热议问题