Answers for "get difference between two dates in minutes in c#"

C#
7

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
1

fdifference between two date in hours c#

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

Code answers related to "get difference between two dates in minutes in c#"

C# Answers by Framework

Browse Popular Code Answers by Language