Date format for URL query parameters in dynamic embed

I am trying to pass URL query parameters in a button in dynamic embed. I need to use a CMS Start Date and End Date field in the parameters. Issue is I can’t seem to change the date format to correct format in a dynamic embed. Is this something I am missing? Anyone have any suggestions how I can custom change the date format if there is no setting to do so?