Hi,
I have a button that should only be visible if a customer has created an order “45 mins ago”… the date/time selector only offers 30mins and 1h. is there a way I can do it?
I assume it would be ((1/24)/60)*45 in UNIX time but that doesn’t let me do the “45 mins ago”
Hey @axme agreed on Mario’s answer above. You can also use this formula “(current time) + x/1440” where x is 45 mins. You can use this formula for any amount of mins given there are 1440 mins in a day.
Thank you @Flawless and @Emeka, I forgot to explain an important detail:
I need the button to appear again after 45mins.
What happens now: I press the "order " button and create the “timestamp” → button becomes not visible as it should → but after 45 mins it does not show up again.
I’ve been trying many other combinations but I’m not getting the buttons to show up again.
Here’s a video of the setup (for testing purposes I made the button disappear for only 1 min):
Since I know this is costing you time, happy to buy your solution to this on nocodeshare/other platform
many thank you very much Sir @Flawless ! Brilliant solution
I didn’t add the hidden input: I just save in the user the date/time + 45mins and then show the button if “date/time + 45mins” is before “current time”. Am I leaving a vulnerability by doing that that the hidden input does?