1
I am receiving the following date of a form: 26/09/2016
I need to convert it to: 2016-09-01
I am using the following command: $v_data= date('Y-m-d', strtotime($data));
only this giving the following return: 1970-01-01
, what would be wrong ?
Used: $data = implode("-",array_reverse(explodes("/",$data)); Thanks for the help.
– Chefe Druida
How would the same situation be for currency ?
– Chefe Druida
$numero = 1234.56; echo number_format($numero, 2, ',', '.');
– Pedro Augusto
In fact and my sum going wrong, ...
– Chefe Druida
The following is the question: http://answall.com/questions/155079/erro-ao-somar-2-valores-em-php
– Chefe Druida