如何保存时间?

小程序 文章 2021-02-08 15:41 543 0 全屏看文

AI助手支持GPT4.0

如何保存时间?How to save time?

如何保存时间?

使用小程序云开发,在数据库中要如何保存时间比较好?

是使用时间戳还是格式化后的时间?

Using small program cloud development, how to save time better in the database? Do you want to use a timestamp or a formatted time?

回答:

Complicated:

无论什么 以时间戳为主 比较好计算

跨商通:

时间戳+1

拾忆:

能时间戳的话推荐时间戳吧,比较灵活点

-EOF-

AI助手支持GPT4.0