20 hours from now

Hello, I need to put a date in a field that is 20 hours from now, but Adalo only has 12 hours from now, does anyone know how it can be done?

I know I helped you with this in the Slack channel with this one but I figured I’d provide the solution here for other users to see and learn.

To get “20 hours from now” you have to calculate the UNIX time duration of the 20 hours.

The formula is: Current Time + 0.833333333333333

Adalo uses Unix time so 1 = 1 day. In order to get 1 hour, you must divide 1 by 24 (which equals 0.041666666666667). So now to get 20 hours, you take this value and multiply it by 20.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.