[pmwiki-users] ftime to display Timestamp saved as Page Variable

Patrick R. Michaud pmichaud at pobox.com
Wed Dec 19 08:46:49 CST 2007


On Wed, Dec 19, 2007 at 03:10:28PM +0100, Anke Wehner wrote:
> Hi there.
> 
> I'd like to save the page creation date in a Page Variable as a timestamp.
> 
> $FmtPV['$PageCreationDate'] = 'strftime($page["ctime"])';

Perhaps try:

   $FmtPV['$PageCreationTime'] = '$page["ctime"]';

Then in the markup one can do:

    {(ftime @$PageCreationTime)}

Pm



More information about the pmwiki-users mailing list