Ever noticed how the big websites display the correct date and time on their home pages? Ever wanted to be able to do that on yours?
It's very simple and it's a good thing to do because it gives the impression to site visitors that your site is current and up-to-date.
To display the Date in the format Tuesday, August 02, 2005 insert the following into the source code of your page at the position where you want it to appear
<%= FormatDateTime(Date, 1)%>
To display the time you would enter
<%= FormatDateTime(Now(), 3)%>
And that's it!! Please note that this will only work in asp files. So if your filename is default.htm you should change that to default.asp |