How to list what happened TODAY


I need to create a list of what happened TODAY in the app. How do I determine TODAY (current date at the time of execution)? Current date/time is NOW. This seems like this should be simple, but I can’t figure it out.

Today where ?

On the Server, User’s timezone ?

So what I would do is set a date on page load, that is midnight “today”.


The compare the creation date to that.

Just be a little careful about timezones between user and server. It should all come out ok but worth checking.

1 Like

Thanks again for your help. Makes sense. Si I guess I’d assumed today would always be today in the user’s timezone, so you bring up a good point. If the Creation Date/time is server time and not local time how do I account for that?

Yes, it should always be “today” when you have a user with a timeszone. So Bubble will take care of that for you.

When you are doing stuff in the background, without a “user” then you may just need to be careful.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.