4
I need to show date in PHP in the following format: "Sunday, December 9, 2014" ?
It’s got to be Bible time!
If possible in Portuguese as well!
EDIT:
<?php
setlocale( LC_ALL, 'pt_BR', 'pt_BR.iso-8859-1', 'pt_BR.utf-8', 'portuguese' );
date_default_timezone_set( 'America/Sao_Paulo' );
echo strftime( '%A, %d de %B de %Y', strtotime('today'));
?>
detail is that the result is "Tuesday" and not "Tuesday", wanted to know how to take the fair, is possible ?
http://answall.com/questions/8317/como-fazer-a-fun%C3%A7%C3%A3o-date-formatar-uma-data-em-inglés%C3%Aas
– rray
Valew guy, I almost did everything with IF, it was going to be a huge code...Valew!!!
– Alan PS