big numbers need more bits..

This commit is contained in:
UbitUmarov
2020-06-14 21:41:50 +01:00
parent 3a5d5fd50e
commit b3ce8e9fc7
2 changed files with 9 additions and 3 deletions

View File

@@ -1056,6 +1056,12 @@ namespace OpenSim.Framework
return true;
}
public static double UnixTimeSinceEpochSecs()
{
TimeSpan t = DateTime.UtcNow - UnixEpoch;
return t.TotalSeconds;
}
public static int UnixTimeSinceEpoch()
{
TimeSpan t = DateTime.UtcNow - UnixEpoch;