[pmwiki-users] creation time page variable
Hans
design at softflow.co.uk
Wed Jan 18 12:51:36 CST 2006
Wednesday, January 18, 2006, 6:41:48 PM, Bronwyn wrote:
> I'd like to use the page creation time in skins and pagelist format
> templates. How do you make it into a page variable?
depends on what kind of time format you need. for instance
global $FmtPV;
$FmtPV['$CreationDate'] = 'strftime("%d %B %Y", $page["ctime"])';
will give you a page variable {$CreationDate}
which will deliver the page creation date as dd Month Year,
like 18 January 2006
look up php strftime for other time formats.
Best,
~Hans
More information about the pmwiki-users
mailing list