Fecha y hora

  • tastysite
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Abr 09, 2008
  • Mensajes: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Nota Octubre 17th, 2008, 1:12 am

Hola estoy usando este código en mi sitio web
Código: [ Select ]
   
<script>
document.write( Date() );
</script>
  1.    
  2. <script>
  3. document.write( Date() );
  4. </script>

Que hace que algo como esto:
Vie Oct 17 2008 09:08:55 GMT +0100 (GMT Daylight Time)
Pero todo lo que quiero es la parte roja, ¿cómo puedo conseguirlo?
^__^
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Octubre 17th, 2008, 1:12 am

  • spork
  • Brewmaster
  • Silver Member
  • Avatar de Usuario
  • Registrado: Sep 22, 2003
  • Mensajes: 6134
  • Loc: Seattle, WA
  • Status: Offline

Nota Octubre 20th, 2008, 12:31 pm

http://www.tizag.com/javascriptT/javascriptdate.php

Rápido, sencillo tutorial que debe ayudar.
The Beer Monocle. Classy.
  • tastysite
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Abr 09, 2008
  • Mensajes: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Nota Octubre 22nd, 2008, 4:26 am

tar
^__^
  • spork
  • Brewmaster
  • Silver Member
  • Avatar de Usuario
  • Registrado: Sep 22, 2003
  • Mensajes: 6134
  • Loc: Seattle, WA
  • Status: Offline

Nota Octubre 22nd, 2008, 12:08 pm

tar?
The Beer Monocle. Classy.

Publicar Información

  • Total de mensajes en este tema: 4 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 96 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC