C# Класс BitSharper.Common.UnixTime

Class for converting to and from Unix (POSIX) time. Unix time is the number of seconds since the Unix epoch, 1970-1-1 0:0:00.0.
Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Приватные методы

Метод Описание
FromUnixTime ( ulong unixTime ) : System.DateTime

Описание методов

ToUnixTime() публичный статический Метод

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).
public static ToUnixTime ( System.DateTime time ) : ulong
time System.DateTime The date time to convert to unix time
Результат ulong