About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Echo - Last Modified...

   Browse by title articles:
   What is hot:

Echo - Last Modified

Echo - Back Link

Echo - Other

Exec

Fsize

Introduction to Visual Basic
Working With Graphics For The Web
Arrays
MySQL Database Data Types
Prev articles1 2 



Echo - Last Modified


Computer & I'net articlesEcho - Last Modified

by David Stanley    



The echo command may be used to display the "last modified" date of the html document. That is the last time a specific web page was changed and/or uploaded to the server.

<!--#echo var="LAST_MODIFIED" -->

You will have to enter the correct filename and extension with this command. Since this is also a date and time command like DATE_LOCAL, you can use the config timefmt command before this one too.

<!--#config timefmt="%m/%d/%y" --> <!--#echo var="LAST_MODIFIED" -->

Now if you want to show this effect with a value from a different page, then the flastmod command may be used. flastmod stands for File Last Modified.

<!--#flastmod file="filename.shtml" -->

You will have to enter the correct filename and extension with this command. Since this is also a date and time command like DATE_LOCAL, you can use the config timefmt command before this one too.

<!--#config timefmt="%m/%d/%y" --> <!--#flastmod file="filename.shtml" -->



-----------------
Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.





Student Loan




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com