<head>
Código Javascript
:
Ver original<script type="text/javascript">
function esFecha($fecha)
{
setlocale(LC_TIME, 'sp_ES','sp', 'es');
return ucfirst(strftime('%d de %B de %Y', strtotime($fecha)));
}
</script>
</head>
<body>
Código PHP:
Ver original<td valign="top"><input type="text" value="<?php echo $rs["fecha"]; ?>" /></td>
</body>