public static long ToUnixTime( this DateTime date ) { return (long)date.Subtract( UnixEpoch ).TotalSeconds; }