Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Randao
Core
DateTimeExtensions
C# Class Randao.Core.DateTimeExtensions
Show file
Open project: fds/DKBD
Public Methods
Method
Description
Epoch
(
this
d
) :
long
unix时间戳
FromEpoch
(
long
epoch
) :
System.DateTime
unix时间戳 转 DateTime
Method Details
Epoch()
public
static
method
unix时间戳
public
static
Epoch
(
this
d
) :
long
d
this
return
long
FromEpoch()
public
static
method
unix时间戳 转 DateTime
public
static
FromEpoch
(
long
epoch
) :
System.DateTime
epoch
long
return
System.DateTime