Insert today's date

W

Wayne-I-M

Hi

Is it possible to insert today's date into a layer that will update
automatically.

I have a page that displays room availability in some hotels in Northern
Italy. Most days this does not change.

I would like to display the number of rooms available (which I will update
as and when) but if the rooms available don't change from the day before I
would still like todays date to be shown so the page is always up to date

Like this
Hotel A - rooms available = 123
Hotel B - rooms available = 456
Correct at "insert date"

Is this possible in FP

Thank you
 
T

Thomas A. Rowe

As long as the page is .asp, you can insert the current date using:

<%=Date()%>

or

<%=Now()%>


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
 
W

Wayne-I-M

Excelent (same as VBA)

Thank you for taking time to answer.


--
Wayne
Manchester, England.



Thomas A. Rowe said:
As long as the page is .asp, you can insert the current date using:

<%=Date()%>

or

<%=Now()%>


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top