[Zope] bobobase_modification_time syntax
Maik Roeder
roeder@berg.net
Sun, 05 Mar 2000 13:48:28 +0100
Hi !
I have added this as a FAQ to
http://zdp.zope.org/projects/zfaq/faq/DTML#952258570
As ZDP members you can become Maintainer of the question
and answer objects.
Greetings,
Maik Röder
How do I use bobobase_modification_time on a file object ?
To get the modify time for a file, use this code in a DTML
document or method :
<dtml-with yourFileName>
<dtml-var bobobase_modification_time>
</dtml-with>
or
<dtml-var "yourFileName.bobobase_modification_time()">
If your filename includes a dot, use instead:
<dtml-with "_['yourFileName.gif']">
<dtml-var bobobase_modification_time>
</dtml-with>
or
<dtml-var "_['yourFileName.gif'].bobobase_modification_time()">