int seconds = 1000;
TimeSpan timespan = TimeSpan.FromSeconds(seconds);
int hour = timespan.Hours;
int min = timespan.Minutes;
int sec = timespan.Seconds;
int seconds = 1000;
TimeSpan timespan = TimeSpan.FromSeconds(seconds);
int hour = timespan.Hours;
int min = timespan.Minutes;
int sec = timespan.Seconds;