huidige timestamp c# code example
Example 1: c# datetime now timestamp
var Timestamp = new DateTimeOffset(DateTime.UtcNow).ToUnixTimeSeconds();
Example 2: huidige timestamp c#
DateTime timestamp = DateTime.Now
var Timestamp = new DateTimeOffset(DateTime.UtcNow).ToUnixTimeSeconds();
DateTime timestamp = DateTime.Now