mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 16:58:38 +00:00
Fix mismatched timestamp fields
This commit is contained in:
parent
f1c5ad4002
commit
d3a4805f6d
1 changed files with 2 additions and 2 deletions
|
@ -4,9 +4,9 @@ namespace LBPUnion.ProjectLighthouse.Helpers;
|
||||||
|
|
||||||
public static class TimeHelper
|
public static class TimeHelper
|
||||||
{
|
{
|
||||||
public static long Timestamp => DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
public static long Timestamp => DateTimeOffset.UtcNow.ToUnixTimeSeconds();
|
||||||
|
|
||||||
public static long TimestampMillis => DateTimeOffset.UtcNow.ToUnixTimeSeconds();
|
public static long TimestampMillis => DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1397109686193
|
// 1397109686193
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue