CSharp examples for System:DateTime Second
Convert Seconds To Hours
using System;/*from ww w . j a v a2s . co m*/ public class Main{ public static double ConvertSecondsToHours(double seconds) { return TimeSpan.FromSeconds(seconds).TotalHours; } }