AssemblyCSharp.DateTimeExtension.ToEpoch C# (CSharp) Method

ToEpoch() public static method

public static ToEpoch ( this time ) : int
time this
return int
        public static int ToEpoch(this DateTime time)
        {
            return Convert.ToInt32((time - Epoch).TotalSeconds);
        }
DateTimeExtension