Answers for "difference betwenn dates 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

C# Answers by Framework

Browse Popular Code Answers by Language