Forum Academy Marketplace Showcase Pricing Features

"+(hours)" operation for Date type

Hello, Bubble.
For Date type we already have several operations to make some addition:

  • … +(seconds)
    Adds some seconds to the date and returns the result.
  • … +(days)
    Adds some days to the date and returns the result.
  • … +(months)
    Adds some months to the date and returns the result.
  • … +(years)
    Adds some years to the date and returns the result.

And we miss one more operation “… +(hours)” that will add some hours to the date and return the result.
Current workaround is to make an invisible field where seconds are multiplied to 3600 to become hours and then use … +(seconds) operation. But the best way is just to have … +(hours) operation :slight_smile:

4 Likes

and +(minutes)

Thomas d’Aquin would have say something like “the more is the enemy of good”
*60 or *3600 is not such a difficult operation :slight_smile: