Answers for "c# unix timestamp"

C#
4

unix time c#

Int32 unixTimestamp = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds;
Posted by: Guest on March-03-2020
0

get unix time in seconds C#

DateTimeOffset.UtcNow.ToUnixTimeSeconds()
Posted by: Guest on November-20-2020
0

c# unix timestamp

var unixTimestamp = DateTimeOffset.UtcNow.ToUnixTimeSeconds();
Posted by: Guest on February-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language