| How do I place a date stamp on my page? |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
"Date stamps" that change every day are obnoxious, of course, if your page is not really updated daily. Your users will figure that out, and they will tune you out. However, if you are making daily updates, you can save yourself a bit of time and effort by using the following server side include directive, which will work on just about any web hosting account, with the exception of some free accounts: <!--#echo var="DATE_LOCAL"--> The date and time will appear correct for the time zone in which the server operates. You can also output the current Greenwich Mean Time and set the date and/or time format you wish to use. For instance, you can display the date only (without the time) by setting the date format like this: <!--#config timefmt="$y $m $d"--> For more information, see the excellent SSI Developer site.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|