Hi,
There is the column which type is a DateTime, and the initial value is now(). How to remove minutes from current time?
ex) 2024-07-03 15:33 => 2024-07-03 15:00
Thanks.
Hi,
There is the column which type is a DateTime, and the initial value is now(). How to remove minutes from current time?
ex) 2024-07-03 15:33 => 2024-07-03 15:00
Thanks.
subtract the minute.
example
DATETIME((NOW()-MINUTE(NOW()))
@jaichith Thanks your reply.
It doesβ t work.
There is an error message: Parameter 1 of function MINUTE is of the wrong type.
Thanks.
DATETIME(
DATE(NOW()) & " " &
TEXT(HOUR(TIME(NOW()) - β00:00:00β)) & β:00:00β
)
DATETIME(
DATE(NOW()) & " " &
TEXT(HOUR(TIME(NOW()) - "00:00:00")) & ":00:00"
)
It works. Thank you so much.
Welcome !!! ![]()