Answers for "c# convert datetime to unix timestamp"

C#
-1

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 "c# convert datetime to unix timestamp"

C# Answers by Framework

Browse Popular Code Answers by Language