How to construct a DateTime value?

Hello,

I have separate [Date] and [Time] values. I need to know please the way to join them together in a DateTime value, in order to use it in a Yes/No expression like:

NOW() > [DateTime]

I need to launch an action after a specific hour on a certain date, so I’m currently using:

OR(
  TODAY() > [Date],
  AND(
    TODAY() = [Date],
    TIMENOW() > "11:00"
  )
)

Which could simply be reduced to: NOW() > [DateTime]

Thanks!

Date + Duration = DateTime

2 Likes

I used:

NOW() > [Date] + (ā€œ11:00:00ā€ - ā€œ00:00:00ā€)

And seems working. Thank you @Marc_Dillon

1 Like

KJS:

NOW() > [Date] + (ā€œ11:00:00ā€ - ā€œ00:00:00ā€)

NOW() > [Date] + ā€œ011:00:00ā€

should work the same

2 Likes