Xamarin 在 Sqlite 中存储日期的格式是什么?
What format does Xamarin store dates in Sqlite?
将 .NET 中的标准 DateTime
保存到 SQLite table 时,我得到如下保存的值:
636183611669074150
这个格式到底是什么?我正在修复一些错误,想知道没有 运行 我的应用程序的号码所持有的确切日期。
DateTime.Ticks
documentation 说:
The value of this property represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001 (0:00:00 UTC on January 1, 0001, in the Gregorian calendar).
将 .NET 中的标准 DateTime
保存到 SQLite table 时,我得到如下保存的值:
636183611669074150
这个格式到底是什么?我正在修复一些错误,想知道没有 运行 我的应用程序的号码所持有的确切日期。
DateTime.Ticks
documentation 说:
The value of this property represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001 (0:00:00 UTC on January 1, 0001, in the Gregorian calendar).