Article View: chile.comp.programacion
Article #2650Re: Fecha en una p�gina Web
From: +mArkO+
Date: Thu, 20 Oct 2005 04:23
Date: Thu, 20 Oct 2005 04:23
63 lines
2643 bytes
2643 bytes
<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>
la linea face='Arial .....debe ir a continuacion de la anterior no en otra
aparte
"JVS" <jorge.vergara@vtr.net> escribi� en el mensaje
news:dj6spb$dlu$1@news1.nivel5.cl...
> Chutas!! lo hago con frontpage , de acuerdo a la ayudo y no resulta....
> "JVS" <jorge.vergara@vtr.net> escribi� en el mensaje
> news:dj6s3h$dbo$1@news1.nivel5.cl...
> > 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:
<dj76lg$igp$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> <dj6s3h$dbo$1@news1.nivel5.cl> <dj6spb$dlu$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: "+mArkO+" <NOSPAMjoin.xtc@gmail.comNOSPAM> Newsgroups: chile.comp.programacion Subject: Re: Fecha en una p�gina Web Date: Thu, 20 Oct 2005 01:23:17 -0300 Organization: Varios Lines: 65 Message-ID: <dj76lg$igp$1@news1.nivel5.cl> References: <dj6qr5$cv7$1@news1.nivel5.cl> <dj6s0b$dak$1@news1.nivel5.cl> <dj6s3h$dbo$1@news1.nivel5.cl> <dj6spb$dlu$1@news1.nivel5.cl> Reply-To: "+mArkO+" <kitim@porta.com> NNTP-Posting-Host: pc-217-112-86-200.cm.vtr.net X-Trace: news1.nivel5.cl 1129782768 18969 200.86.112.217 (20 Oct 2005 04:32:48 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Thu, 20 Oct 2005 04:32:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441