May 23, 2022 03:59 AM
Hi team!
I’ve been using this wonderful formula to set a due date for something, but the issue I have is that it defaults to 12:00AM. How would I append this formula to set it to, say, 4AM?
Thanks!
Solved! Go to Solution.
May 23, 2022 04:13 AM
Hi automadien, you’d just need to do another DATEADD() to it, where you add 4 hours to the result. This should work for what you’re looking for:
DATEADD(
DATEADD(
DATEADD(
TODAY(),
-1,
'month'
),
-(DAY(TODAY()) - 1),
'days'
),
'4',
'hours'
)```
May 23, 2022 04:13 AM
Hi automadien, you’d just need to do another DATEADD() to it, where you add 4 hours to the result. This should work for what you’re looking for:
DATEADD(
DATEADD(
DATEADD(
TODAY(),
-1,
'month'
),
-(DAY(TODAY()) - 1),
'days'
),
'4',
'hours'
)```
May 23, 2022 04:34 AM
Spectacular. Thanks Adam, have a great day!