I need to hit an API in PHP Laravel and passing Raw body date in it. It requires DataTime to be sent as required by json show in below format.
"ShippingDateTime": "\/Date(1484085970000-0500)\/",
How can I create date like this in PHP/Laravel where I can get any future date (current date + 1). Currently it's giving error that:
DateTime content '23-01-2021' does not start with '\/Date(' and end with ')\/' as required for JSON.