How to annotate a queryset with time extracted from timestamp in seconds?

后端 未结 0 1253
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 02:25

I have a model with record_time field which is of IntegerField type. It stores timestamp in seconds (Unix epoch time). I need to annotate the query

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