Getting HOUR from TIMENOW()

The HOUR() document very specifically states to use this formula to get the hour from NOW()

HOUR(TIME(NOW()) - "00:00:00")

But this still does not work???  Any help here

0 2 115
2 REPLIES 2

Could you elaborate?

In my testing it works as intended. 

Suvrutt_Gurjar_0-1686541318825.png

Column [Current_Time_Hour] expression  is as follows:

Suvrutt_Gurjar_1-1686541427771.png

 

 

@Dan_Oliphant 

HOUR(NOW() - "00:00:00")

This formula subtracts the time "00:00:00" (midnight) from the current time using the minus operator ("-"), and then the HOUR() function extracts the hour component from the resulting duration.

Top Labels in this Space