SQL time data type only support up to 24 hours max, but the MaxValues and MinValues of .net TimeSpan is range between -10675199.02:48:05.4775808 and 10675199.02:48:05.4775807. To store it, it required to save as bigint with timeSpan.Ticks and convert it back with timeSpan.FromTicks.