Skip to main content
Solved

What's the formula to subtract 3 hours from Time & Date Field but...

  • March 31, 2024
  • 1 reply
  • 39 views

Forum|alt.badge.img+4

Does anyone know the formula to subtract 3 hours from date and time field but... show just the time please? This formula provides the correct answer showing date and time but...

 
DATEADD(
{Departure Date & Time},
-3,
'hours'
)
 
...when I add this to the formula to they and show just time -- the time is completely wrong.
 
DATETIME_FORMAT(
DATEADD(
{Departure Date & Time},
-3,
'hours'
),
'h:mmA'
)
 
My attempts have resulted in a series of #Errors. Any ideas please? Thank you.

Best answer by peterboothby

I fixed it. Was fiddling all day and then sorted it 5 seconds after this post. 'Use the same time zone for all collaborators' was off. 

1 reply

Forum|alt.badge.img+4
  • Author
  • New Participant
  • Answer
  • March 31, 2024

I fixed it. Was fiddling all day and then sorted it 5 seconds after this post. 'Use the same time zone for all collaborators' was off.