I have the following code:
$dataAssContrato = new DateTime($_POST['dataContrato']);
This line works perfectly in Chrome, but not in Firefox or IE, because when I try to register one each, I get the following warning:
Fatal error: Uncaught exception 'Exception' with message 'DateTime :: __ construct () [datetime .-- construct]: Failed to parse time string (25/09/2014) at position 0 (2): Unexpected character '
Exception: DateTime :: __ construct () [datetime .-- construct]: Failed to parse time string (25/09/2014) at position 0 (2): Unexpected character in