Date & Time in HTML
I am designing a web page for a local company & he wants me to place the date & time on each page. Is there an HTML tag to do this or does anyone know the code to enable this?
Cheers,
Chris.
Desktop
I am designing a web page for a local company & he wants me to place the date & time on each page. Is there an HTML tag to do this or does anyone know the code to enable this?
Cheers,
Chris.
by glynn
by epepke
by vinodhl
by twhaight
by six
by handerso
in asp you could do:
<%
dim myDate
myDate=formatdatetime(now(), vbshortdate)
response.write mydate
%>
in javascript you could do:
Hope this helps.
This discussion is closed to new replies.
Sort by Trending