Revision history for FileModificationTime


Revision [18599]

Last edited on 2008-01-28 00:12:17 by JasonHuebel [Modified links pointing to docs server]

No Differences

Revision [10695]

Edited on 2005-08-15 16:17:57 by JasonHuebel [note about requests for feature enhancements]
Additions:
If you find this action useful, post a comment and let me know! Also, feel free to comment with requests for feature enhancements. --JasonHuebel
Deletions:
--JasonHuebel


Revision [10685]

Edited on 2005-08-14 14:27:26 by JasonHuebel [added my WikiName]
Additions:
--JasonHuebel


Revision [10464]

Edited on 2005-08-06 04:30:43 by JasonHuebel [added my WikiName]
Additions:
echo "<font size=-2>" . date("M d, Y h:i:s a", filemtime($path)) . "</font>";
Deletions:
echo "<font size=-2>" . date("M d, Y h:i:s a", filemtime($path)) . "</font>"


Revision [10463]

Edited on 2005-08-06 04:28:07 by JasonHuebel [added my WikiName]
Additions:
/*
filemtime action
Displays the modification time of a file
Syntax: {{filemtime path="/path/to/file"}}
*/
$path = trim($vars['path']);
if (file_exists($path)) {
echo "<font size=-2>" . date("M d, Y h:i:s a", filemtime($path)) . "</font>"
} else {
echo "<!-- ERROR (filemtime): '" . htmlspecialchars($path) ."' not found -->";
}
Deletions:
$path = $this->htmlspecialchars_ent(trim($vars['path']));
echo "<font size=-2>" . date("M d, Y h:i:s a", filemtime($path)) . "</font>"
The syntax is simply:
""{{filemtime path="/path/to/file"}}""


Revision [10446]

The oldest known version of this page was created on 2005-08-05 05:07:02 by JasonHuebel [added my WikiName]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki