Saving new Date() in MongoDB Collection

前端 未结 0 516
伪装坚强ぢ
伪装坚强ぢ 2021-01-14 22:10

I try to store a date inside a mongodb collection:

const date = new Date();
const time = {
      date:  date,
      date:  date.getTime(),
Collection.insert(t         


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