My php client is consuming java soap web service with date parameter. The client is passing it in the following format:
2016-09-18
The server responds with:
javax.xml.bind.UnmarshalException: java.time.format.DateTimeParseException: Text '2016-09-18' could not be parsed at index 10
as it expcts it in simple datetime format:
2016-09-18T00:00:00.000-0000
How can I convert it to simple datetime format in php ?