[Zope] javascript and last modified date

Max M maxm@mxm.dk
Mon, 24 Feb 2003 23:08:45 +0100


einar jensen wrote:

> I apologize.
> I assumed the javascript method somehow got hold on the "las modified 
> date" from the webserver (but of courde: how it would do this I do not 
> know).


Most likely you would need to put some dtml into your html page for 
rendering a JavaScript date object.

var lastModified = new Date('<dtml-var bobobase_modification_time>')

That should probably be enough.

regards Max M