How to get dateformat weekday

What I’m trying to do

what i want to do is get tasks from today’s note and i currently have this dataview query

TASK
WHERE file.name = dateformat(date(today), "yyyy-MM-dd-dddd")

and my daily note is set up like
YYYY/MM-MMMM/YYYY-MM-DD-dddd.
so it looks something like
2024-05-04-Saturday.

Maybe try an inline dataview query inside a daily note to debug: DQL, JS and Inlines - Dataview