Answers for "c# calculate time between two dates"

C#
12

c# calculate difference between two dates in days

(EndDate - StartDate).TotalDays //double
(EndDate.Date - StartDate.Date).Days //int
Posted by: Guest on June-07-2020
2

fdifference between two date in hours c#

double dif = (greaterDate - smallerDate).TotalHours;
Posted by: Guest on January-13-2021

Code answers related to "c# calculate time between two dates"

C# Answers by Framework

Browse Popular Code Answers by Language