[eluser]Cgull[/eluser]
Hello,
Using codeigniter 2.1.2 and Bootstrap
I have a form where the user can pick a date with datepicker.
When I submit the form, the input post shows this value:
'22/04/2013'
Then I code:
Code:
mdate('%Y-%m-%d', strtotime($this->input->post('from_date')))
And I get: '2013-04-16' which is today's date.
Why is that?