Replies: 1 comment 1 reply
-
如果要高精度,建议用 long 时间戳保存 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
SQLite 数据库插入的 CreatedTime 毫秒部分为0,当前开发项目需要精确到毫秒。
调式看到SQLite 用的datetime(current_timestamp,'localtime') ,获取到的值不含毫秒。SqlServer 用的 getdate() ,含毫秒,其它库尚未测。能否考虑 各库都确保给加上毫秒值?(当然也可以去掉 ServerTime 直接 DateTime.Now 解决)
谢谢
Beta Was this translation helpful? Give feedback.
All reactions