C# 클래스 Synology.Extensions.SystemExtensions

파일 보기 프로젝트 열기: DotNetDevs/Synology

공개 메소드들

메소드 설명
ToDateTime ( this timestamp ) : System.DateTime

Performs conversion from a Unix timestamp to a DateTime

ToUnixTimeStamp ( this dateTime ) : long

Performs conversion from a DateTime to Unix timestamp

메소드 상세

ToDateTime() 공개 정적인 메소드

Performs conversion from a Unix timestamp to a DateTime
public static ToDateTime ( this timestamp ) : System.DateTime
timestamp this
리턴 System.DateTime

ToUnixTimeStamp() 공개 정적인 메소드

Performs conversion from a DateTime to Unix timestamp
public static ToUnixTimeStamp ( this dateTime ) : long
dateTime this The DateTime to convert
리턴 long