API query string from Date Range Formatting

Screen Shot 2022-07-14 at 7.58.26 AM

I'm trying to format the date for a API query that needs to be formatted, could anyone help with the string?

{{dateRange1.value.start}}

Screen Shot 2022-07-14 at 8.00.08 AM

@mrockwell Welcome to the forum!
What is the format you need for the query itself? MM/DD/YYYY? DD-MM-YYYY?

Thanks Scott!

MM/DD/YYYY

Is the API you are using, selecting or inserting into a database? If so, chances are that MM/DD/YYYY won't work and you will need to convert the value to a timestamp....
https://momentjs.com/docs/#/displaying/format/

{{ moment().subtract(35, "days").format("MM/DD/YYYY") }}