Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# calculate difference between two dates in days

(EndDate - StartDate).TotalDays //double
(EndDate.Date - StartDate.Date).Days //int
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #difference #dates #days
ADD COMMENT
Topic
Name
2+7 =