I am having date and time of submitted form in Date time format.I want to compare the date and time if it exceeds 1 hr from submission I want to show a proceed button.
How I can give a condition where it is comparing submitted form have completed 1hr
Discussion posts and replies are publicly visible
Hi harshc5309 ,
Please use below code. Here local!proceedButton is a boolean which can be used for showWhen or disable parameter of buttonWidget.
a!localVariables( local!submittedTime:datetime(2023,11,20,03,35,00), local!proceedButton:a!addDateTime(local!submittedTime,0,0,0,1,0,0)>now(), local!proceedButton )