c# timestamp now code example
Example 1: c# datetime now timestamp
String timeStamp = GetTimestamp(DateTime.Now);
Example 2: c# datetime now timestamp
var Timestamp = new DateTimeOffset(DateTime.UtcNow).ToUnixTimeSeconds();
Example 3: c# timestamp now
DateTime now = DateTime.Now;
Console.WriteLine("NOW: " + now);