Use 'toEpochMilli()' instead (FS-147)

This commit is contained in:
Nathan Curran 2021-03-21 13:44:55 +11:00
parent 561c192c27
commit 9f291f675c
No known key found for this signature in database
GPG Key ID: B3A964B30C2E56B8

View File

@ -612,7 +612,7 @@ public class FUtil
public static long getUnixTime() public static long getUnixTime()
{ {
return Instant.now().getEpochSecond(); return Instant.now().toEpochMilli();
} }
public static long getUnixTime(Date date) public static long getUnixTime(Date date)