[pmwiki-users] pagevariable for creation time

noskule noskule at gmx.net
Tue May 8 14:09:47 CDT 2007


Patrick R. Michaud schrieb:
> On Tue, May 08, 2007 at 06:40:55PM +0200, noskule wrote:
>> hi list
>> is there a pagevar for creation-time
>> I thought I could remember a var valled ctime somewhere. Is this somehow
>> accessible as a pagevar?
> 
> See the bottom of http://www.pmwiki.org/wiki/PmWiki/PageVariables .
> 
> Pm
> 


ah I see thanks, but is it possible, that it autmaticly takes the same
format that a user specifies with the $TimeFmt variable in config.php?

Something like:
$FmtPV['$PageCreationDate'] = 'strftime("$TimeFmt", $page["ctime"])';

What I'm doing wrong?
nos



More information about the pmwiki-users mailing list