el codigo es mas o menos asi:
Código:
alegria!! function formato($fecha) { $fecha2=explode("-",$fecha); setlocale("LC_TIME","es_ES"); return strftime("%d de %B de %Y", mktime(0,0,0,$fecha2[1],$fecha2[2],$fecha2[0])); }