fdifference between two date in hours c#
double dif = (greaterDate - smallerDate).TotalHours;
fdifference between two date in hours c#
double dif = (greaterDate - smallerDate).TotalHours;
how to get hours and minutes from second in c#
TimeSpan t = TimeSpan.FromSeconds( secs );
string answer = string.Format("{0:D2}h:{1:D2}m:{2:D2}s:{3:D3}ms",
t.Hours,
t.Minutes,
t.Seconds,
t.Milliseconds);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us