number of days between two dates?

Occasional Contributor

How can I know the number of days between two dates?


2 Replies

Hello @IrfanLatif 


here, under Date and time formulas, are examples to calculate the difference between to dates:


Good luck, Dave

@IrfanLatif You can create a calculated column for this. Use formula like below for calculated column: 


=DATEDIF([Work Start Date],[Work End Date],"d")


Note: You have to create a new calculated column. You cannot use above formula in calculated value option of any other column in list. 


DocumentationCalculated field formulas 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.