6 lines
166 B
C#
6 lines
166 B
C#
|
namespace InnovEnergy.Time.Unix;
|
||
|
|
||
|
public readonly partial struct UnixTime
|
||
|
{
|
||
|
public DateTime ToUtcDateTime() => DateTime.UnixEpoch + TimeSpan.FromSeconds(Ticks);
|
||
|
}
|