mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
big numbers need more bits..
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user