Hola bacho.
Pruébalo asi:
Código PHP:
<html>
<head>
<script language="jscript">
function muestra(){
var fecha;
fecha= new Date();
document.programacion.dia_recibido.value= fecha.getDate();
document.programacion.mes_recibido.value= fecha.getMonth() + 1;
document.programacion.anio_recibido.value= fecha.getFullYear();
document.programacion.hora_recibido.value = fecha.getTime();
}
</script>
</head>
<body onload="muestra()">
<form name="programacion">
Día: <input type="text" name="dia_recibido"><br>
Mes: <input type="text" name="mes_recibido"><br>
Año: <input type="text" name="anio_recibido"><br>
Hora: <input type="text" name="hora_recibido"><br>
</form>
</body>
</html>
Saludos.