Today's date and time (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Pat G -> Today's date and time (7/2/2001 20:04:00)

Hi. I have FP2002 (love it by the way).
How do I make today's date and time
appear automatically on my site?
I tried a java html but it infected my
page for some reason.
Thanks. Pat




rdspollin -> RE: Today's date and time (7/2/2001 20:48:00)

check this out:

http://www.dynamicdrive.com/dynamicindex6/index.html

------------------
=================================
" TARGET=_blank>http://www.outofthevoid.co.uk/
supporting and promoting the
south coasts creative talent
http://www.outofthevoid.co.uk/
=================================
:) SPOLLIN :)
=================================





davebukouricz -> RE: Today's date and time (7/2/2001 15:10:00)

On an ASP page it is this
<html>

<head>

</head>

<body>

Todays Date and Time is <%=Now()%>

</body>

</html>





Gil -> RE: Today's date and time (7/2/2001 19:18:00)

Quick way is
The Local Time is <!--#echo var="DATE_LOCAL" -->

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Daddy, why doesn't this magnet pick up this floppy disk?"





Keith Cyr -> RE: Today's date and time (7/11/2001 16:27:00)

How about if you were to subtract one day.




Gil -> RE: Today's date and time (7/11/2001 16:32:00)

quote:
Originally posted by Keith Cyr:
How about if you were to subtract one day.

?????????????????

I guess it would be yesterday

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





Keith Cyr -> RE: Today's date and time (7/11/2001 16:40:00)

Ha that was funny. Seriously if I wanted to use todays date minus one day. I've tried several things none of which work.




Gil -> RE: Today's date and time (7/11/2001 18:28:00)

Hmmm, never thought about it - I don't know of a way off the top of my head, but I'll give it some thought.

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





davebukouricz -> RE: Today's date and time (7/12/2001 20:26:00)

Again I don't know if you're using ASP if you are it is this.<html>

<html>

<head>
</head>

<body>
Todays Date is <%=Date()%><br>
Yesterdays Date was <%=Date()-1%><br>
Tomorrows date will be <%=Date()+1%><br>
Seven days from now will be <%=Date()+7%>
</body>
</html>

[This message has been edited by davebukouricz (edited 07-12-2001).]





Keith Cyr -> RE: Today's date and time (7/12/2001 23:31:00)

That worked thank you very much Dave.




davebukouricz -> RE: Today's date and time (7/12/2001 13:24:00)

No problem




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.140625