Round down to day - bug

Hei why I can only round down the first date in the Only When subtraction.

Both parts are actual normal date format.

Here the video: DaLunedì | Bubble Editor - 11 May 2025 | Loom

My objective is to actually start a workflow only when a day of the visit is at least 2 days from now (current date)

You need to turn on parentheses.

I don’t know why this was not implemented yet… i can’t imagine myself working without them.

1 Like

Yeah.. the Bubble expression builder is almost useless without parenthesis turned on…

As @adamhholmes mentioned, if you enable “Expose parentheses in expressions” under Settings > Versions, you’ll be able to do this directly.

Another way to approach it is:

If you’re trying to create this condition in a backend workflow, you can define a parameter of type “date”, and on the front end, pass in the value using “current date/time:rounded down to day”. This allows you to compare it with the target date using a consistent format.

If you prefer to handle the condition on the front end, you can do something similar by storing the rounded current date/time in a group of type “date”.