Help in setting default filter to current date

Hi below is the query i am using to get count. Currently its working but the constraints are i cannot set the date filter to current date. Can anyone help out?

SELECT count(distinct A)
FROM ABC
WHERE TIMESTAMP_ADD(timestamp, INTERVAL 330 MINUTE) BETWEEN {{DateVal}} AND TIMESTAMP_ADD({{DateVal}}, INTERVAL 1 DAY) AND
Service = 'X'
[[AND OUID = {{OUID}}]]

Hi @Bhaumik1
Use Complex Default Value:
https://www.metabase.com/docs/latest/users-guide/13-sql-parameters.html#default-value-in-the-query
So something like this:

WHERE 1=1
AND TIMESTAMP_ADD(timestamp, INTERVAL 330 MINUTE) [[ BETWEEN {{DateVal}} AND TIMESTAMP_ADD({{DateVal}}, INTERVAL 1 DAY) --]] = CURRENT_DATE()
AND Service = 'X'
[[AND OUID = {{OUID}}]]