Answers for "c# days between two dates"

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

total months between two dates c#

((date1.Year - date2.Year) * 12) + date1.Month - date2.Month
Posted by: Guest on December-30-2020
0

get number of days between two dates c#

(EndDate - StartDate).TotalDays
Posted by: Guest on October-08-2021

Code answers related to "c# days between two dates"

C# Answers by Framework

Browse Popular Code Answers by Language