Skip to content

Display only today data #11314

Closed Answered by ConorWebb96
vaskoZGU asked this question in Help
Jul 21, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @vaskoZGU,

If you want only records of the current day I'd recommend adding the below JS inside that binding were that date is displayed in the last screenshot.

const currentDate = new Date();
currentDate.setHours(0, 0, 0, 0);

return currentDate;

This will always default it to the current date at 00:00, meaning your data will be filtered by dates on a specific day.

I hope this makes sense.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vaskoZGU
Comment options

@ConorWebb96
Comment options

Answer selected by vaskoZGU
@vaskoZGU
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-filtering Filtering data
2 participants