namespace Supercell.GUT.Server.Util; public static class TimeUtil { private static readonly DateTime s_unixTime = new(1970, 1, 1); public static int GetCurrentTimestamp() { return (int)DateTime.UtcNow.Subtract(s_unixTime).TotalSeconds; } }