AssemblyCSharp.DateTimeExtension.ToEpoch C# (CSharp) 메소드

ToEpoch() 공개 정적인 메소드

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