disculpen como puedo obtener la fecha actual del sistema
tengo el siguiente codigo pero no me regresa la fecha actual:
<script language="jscript">
var fecha;
fecha= new Date();
document.programacion.dia_recibido.value= fecha.getDay();
document.programacion.mes_recibido.value= fecha.getMonth();
document.programacion.anio_recibido.value= fecha.getFullYear();
document.programacion.hora_recibido.value = fecha.getTime ();
</script>