How to calculate number of days in between(20181018 to today date)?

Hii Team,
Please help me in this topic.

@Ranjith1996 (Now-urDateVariable).Days Gives number of days between those dates

1 Like

Hi @Ranjith1996

You can try this

DateDiff(DateInterval.Day, yourDate,Today)

See this sample

Main.xaml (5.6 KB)

Thanks,
Prankur

(EndDate - StartDate).TotalDays
DateTime d1;
DateTime d2;
return (d1 - d2).TotalDays;

thanks you everyone for help on this…

2 Likes

You can mark the appropriate post as solution which helped you.

Thanks,
Prankur

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.