PM Date column Datetime + 4 hours

Hi Experts

I just really not good in doing datetime expression. I want to add a 4 hours duration to the timedate column PM Date. And I see and error all the time. where have I done wrong

(DATETIME([PM DATE]) + "004:00:00") < DATETIME(NOW())

Solved Solved
0 2 86
1 ACCEPTED SOLUTION


@desmond_lee wrote:

to the timedate column PM Date


 

Assuming the [PM DATE] column is DatetTime type column as you have written above , please try 

([PM DATE] + "004:00:00") < NOW()

Since both [PM DATE]  and NOW() are datetime values, you need not further wrap them with DATETIME()

View solution in original post

2 REPLIES 2


@desmond_lee wrote:

to the timedate column PM Date


 

Assuming the [PM DATE] column is DatetTime type column as you have written above , please try 

([PM DATE] + "004:00:00") < NOW()

Since both [PM DATE]  and NOW() are datetime values, you need not further wrap them with DATETIME()

Thank very much

Top Labels in this Space