Answers for "how to calculate difference between two dates 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

Code answers related to "how to calculate difference between two dates in c#"

C# Answers by Framework

Browse Popular Code Answers by Language