cancel
Showing results for 
Search instead for 
Did you mean: 

Show the curret Time minus 1 hour?

Former Member
0 Kudos

Hello,

I try to show two time-fields. One for the curret Time and one should display the current time minus one hour. Can somebody explain what is the expression for this?

Thanks in advance

Marcus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marcus,

use a input field (or another field) of the time type. Then enter the following formula in the default value:

TADD(TNOW(),-1,"hour")

Best Regards,

Marcel

Former Member
0 Kudos

HI , thanks. Now I realized that I forgot the quotation marks.

Now it works.

Answers (0)