Forum Discussion
How to calculate the duration between two date columns in a List?
- May 27, 2020
Bernd Kroon You can use the following approach
This will be the way column will be defined:
I hope this gives you some directions to think. Mark the response appropriately if it help you finding the solution.
Thanks,
Vik
Bernd Kroon You can use the following approach
This will be the way column will be defined:
I hope this gives you some directions to think. Mark the response appropriately if it help you finding the solution.
Thanks,
Vik
- Heshan_XrayJan 23, 2024Copper Contributor
I did this using UK time/dates
Start 22/1/2024 19:00 and end 22/1/2024 20:10
The delta is shown as "30" using your formula. I would like to calculate hours and tried swapping the "D" to both "h" and "H" and it says "#VALUE!"
I tried it as number and single line of text but still no avail
Can you help
- MoteenFeb 27, 2023Copper Contributor
Hi Sir, I want to calculate the date, but the Delta is decreased on according to dates coming to target dates Vikram_Samal
- RAVADANEWERADec 30, 2022Copper ContributorI have a similar situation. I have a column that captures a person's started working date (let us say 1st June 2020). I want to create a column to automatically calculate the total experience real time. I added a column with today formula but I want to avoid this and use a formula instead to calculate the total experience with reference to started working date column. Also, would like to see if there is a possibility to get the result in decimals. Your formula was giving the response in intergers.
- Mayes1660Jul 16, 2021Copper Contributor
Vikram_Samal Ive used this and it doesnt appear to work quite how i want as it does find the difference eg the dates being 19/07/21 and 23/07/21 and it gives me the result of three however i want it to give me 5 if you get what i mean as this is for holiday requests therefor it needs to count everyday from the first date being the start date and the second being the end date therefor that is how much time off they took? can you help with this?
- LucasCiminoMar 22, 2023Copper Contributor
Mayes1660 you simply need to add 2 to the formula. It is always going to be a difference of 2.
- Bernd KroonMay 28, 2020Brass ContributorThank you, Vik!