Article View: chile.comp.programacion
Article #2647Re: Fecha en una p�gina Web
From: JVS
Date: Thu, 20 Oct 2005 01:23
Date: Thu, 20 Oct 2005 01:23
32 lines
1727 bytes
1727 bytes
Gracias!!
Jorge
"_Rodrigo_" <rmunozc@NOSPAM.chile.com> escribi� en el mensaje
news:dj6s0b$dak$1@news1.nivel5.cl...
> 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:
<dj6s3h$dbo$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-mailReferences:
<dj6qr5$cv7$1@news1.nivel5.cl> <dj6s0b$dak$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: "JVS" <jorge.vergara@vtr.net> Newsgroups: chile.comp.programacion Subject: Re: Fecha en una p�gina Web Date: Wed, 19 Oct 2005 22:23:14 -0300 Organization: Varios Lines: 34 Message-ID: <dj6s3h$dbo$1@news1.nivel5.cl> References: <dj6qr5$cv7$1@news1.nivel5.cl> <dj6s0b$dak$1@news1.nivel5.cl> NNTP-Posting-Host: pc-35-143-86-200.cm.vtr.net X-Trace: news1.nivel5.cl 1129771953 13688 200.86.143.35 (20 Oct 2005 01:32:33 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Thu, 20 Oct 2005 01:32:33 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180