Answers for "new datetime unix timestamp c#"

C#
0

c# unix timestamp

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

c# unix timestamp

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

Code answers related to "new datetime unix timestamp c#"

C# Answers by Framework

Browse Popular Code Answers by Language