Method | Description | |
---|---|---|
ToUnixTime ( System.DateTime time ) : ulong |
Converts a DateTime to unix time. Unix time is the number of seconds between 1970-1-1 0:0:0.0 (unix epoch) and the time (UTC).
|
Method | Description | |
---|---|---|
FromUnixTime ( ulong unixTime ) : System.DateTime |
public static ToUnixTime ( System.DateTime time ) : ulong | ||
time | System.DateTime | The date time to convert to unix time |
return | ulong |