Question
3
Replies
5317
Views
Posted: August 14, 2017
Last activity: November 6, 2018
Closed
Solved
Number of days calculation
Hi,
How I can calculate the Number of days when I have 2 dates in dd/mm/yyyy format.
For example let us take Journey dates.
End Date: 24/11/2017
Start Date: 10/11/2017
Number of days: 14
How to display it in open span using toolbox components not scripts.
Thanks
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
You can use a DateTimeUtils component and call its Subtract method. Pass it your two DateTime objects and the result is a timespan. Extract a proxy from the result and use the Days property of it.