[thelist] Last modified date

Adrian Thompson adeythom at well.com
Fri Apr 20 04:07:50 CDT 2001


Hi Zoe.

Judging by http://www.cyberaddicts.net/SSI/SSI7.shtml (pretty OK SSI
reference/tutorial), the syntax should be
<!--#config timefmt=" %B %e %Y" --><!--#flastmod file="Name of file you want
the last modified date of"-->
eg. <!--#config timefmt=" %B %e %Y" --><!--#flastmod file="index.shtml""-->.
There are some examples on the above page. i don't know if this will do what
you want (I'm new to SSI), but it can't hurt to try it!

Cheers,

Adrian Thompson

>
> > Not really responding to your question but: If you're already using SSI,
> > why don't you use its last modified variable?
> >
> > <!--#echo var="LAST_MODIFIED"-->
> Looks good thanks, think I'll use that, but I only really want the date
not
> the time.
> >
> > Use <!--#config timefmt=""--> to format the date.
> Okay so if I only want the date I use:
> <!--#config timefmt=" %B %e %Y" -->
> But how do I insert this into <!--#echo var="LAST_MODIFIED"--> to show
only
> the date?
>
> Placing in the html document as:
> <!--#echo var="LAST_MODIFIED"-->
> <!--#config timefmt=" %B %e %Y" -->
> doesn't work!
>
> I know I'm useless and stupid ;o) but can anyone tell me how I do this
> please.
>
> TIA
>
Zoe





More information about the thelist mailing list