My backend is sending me a time like this:
$date = Carbon::now()->format('m-d-Y H:i:s')
the value of $date is a string like "01-21-2021 15:25:06"
Can I use that to create a Date object in Javascript?
You can probably use JavaScript's Date.parse() function to do this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#description