🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2646

Re: Fecha en una p�gina Web

#2646
From: _Rodrigo_
Date: Thu, 20 Oct 2005 01:21
25 lines
1530 bytes
con javascript,

<script>
var mydate=new Date();
var year=mydate.getYear();
if (year < 1000)
year+=1900;
var day=mydate.getDay();
var month=mydate.getMonth()+1;
if (month<10)
month="0"+month;
var daym=mydate.getDate();
if (daym<10)
daym="0"+daym;
document.write("<small><font color='000000' 
face='Arial'><b>"+daym+"/"+month+"/"+year+"</b></font></small>")
</script>


"JVS" <jorge.vergara@vtr.net> escribi� en el mensaje 
news:dj6qr5$cv7$1@news1.nivel5.cl...
> C�mo puedo insertar la fecha en una p�gina web y �sta vaya actualiz�ndose 
> diariamente??
> Gracias
> 
Technical Details
Message-ID: <dj6s0b$dak$1@news1.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
References: <dj6qr5$cv7$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,a321ffbcbf10fe6d
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
From: "_Rodrigo_" <rmunozc@NOSPAM.chile.com>
Newsgroups: chile.comp.programacion
Subject: Re: Fecha en una p�gina Web
Date: Wed, 19 Oct 2005 22:21:21 -0300
Organization: Varios
Lines: 27
Message-ID: <dj6s0b$dak$1@news1.nivel5.cl>
References: <dj6qr5$cv7$1@news1.nivel5.cl>
NNTP-Posting-Host: pc-7-129-86-200.cm.vtr.net
X-Trace: news1.nivel5.cl 1129771851 13652 200.86.129.7 (20 Oct 2005 01:30:51 GMT)
X-Complaints-To: news@news1.nivel5.cl
NNTP-Posting-Date: Thu, 20 Oct 2005 01:30:51 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response