Net duration between 2 dates AND hours
Answers
-
Happy to help. 👍️
-
Hi @Paul Newcome ,
Do you have any ideas why, in the DateOnly formula, the result is the next day if finish time is after 20h? See below
-
It looks like you may have run into the annoying timezone issue. Can you post the exact formula you are currently using? We should be able to tweak it to basically say "if the hour is greater then or equal to 20 then subtract 1 day".
-
Hi @Paul Newcome,
You were right problem was some people were not using the same timezone. It's fixed now :)
-
Glad you were able to get it sorted.
-
Problem seems finally not resolved. Please take a look at my picture below : task ended at 20:12 on December 5th but end date, with formula DATE ONLY, is December 6th.
Any idea? Thanks :)
-
Right. It looks like anything after 2000 is pushing to the next day. You would need to add an IF statement that says if the hour is greater than or equal to 20, subtract one day.
=DATEONLY([Date Column]@row) - IF(VALUE(MID([Date Column]@row, 10, 2)) >= 20, 1, 0)
-
@Paul Newcome Error message : Unparseable, date column format
-
Make sure you updated the column names to the correct names that are in your sheet, and you may need to swap the commas out for semi-colons.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 466 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!