Answers for "how to convert time to unix timestamp c#"

C#
0

c# convert datetime to unix timestamp

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

Code answers related to "how to convert time to unix timestamp c#"

C# Answers by Framework

Browse Popular Code Answers by Language