I have this code PHP
to format the dates coming from a SQL
:
setlocale(LC_ALL, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
date_default_timezone_set('America/Sao_Paulo');
I also need to do English and Spanish , how could I do it?