I have a date in this format: Quarta, 21 Maio, 2014 .
To save this date in the database I'm converting it to datetime as follows:
$f['data'] = $_POST['data'];
$data = DateTime::createFromFormat('l, j F, Y', $f['data']);
$data...
asked by
21.05.2014 / 21:11