Next people with a current_date
no MySQL
and return the registration date only in the format of the bank: 2017-01-06
.
How do I leave in the format: Friday, January 6, 2017 .
To display my data in the database I use
<?php echo $row->data; ?>
Show her in Portuguese I did more with her echo strftime ("% A,% d of% B of% Y", strtotime ($ date)); He returns all dates to me on December 31, 1969. If I put echo strftime ("% A,% d of% Y of% Y", strtotime ('today')); All stay with the present day.