Forum Discussion
number of days between two dates?
How can I know the number of days between two dates?
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.
Documentation: Calculated 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.
2 Replies
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.
Documentation: Calculated 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.
Hello IrfanLatif
here, under Date and time formulas, are examples to calculate the difference between to dates:
Good luck, Dave