Expression in Start and End date

Expression in Start and End date

Hello.

I would like to know if there is any way to use regular expressions to work with dates in the tago platform.
Being more specific in the start_date and end_date.
Here is the line of code that I would like to leave with the expression:

const dados_fevereiro = await device.getData({variable: "int0", qty:10000, start_date: '2024-02-01', end_date: '2024-02-29'})

I tried to do it this way but it ends up returning an error:

const dados_fevereiro = await device.getData({variable: "int0", qty:10000, start_date: '/^....\-02\-.{0,20}$/', end_date: '^....\-02\-.{0,20}$/'})


Thanks for the help!