public static long ToSeconds( this TimeSpan time ) { return (time.Ticks / TimeSpan.TicksPerSecond); }