Answers for "getdate javascript hora"

1

insertar fecha en pagina web

<div style="float:right;">
<script type="text/javascript">
//<![CDATA[
var  today = new Date();
var m = today.getMonth() + 1;
var mes = (m < 10) ? '0' + m : m;
  document.write('Fecha: '+today.getDate(),'/' +mes,'/'+today.getYear());
//]]> 
</script></div>
Posted by: Guest on October-08-2020

Browse Popular Code Answers by Language