[pmwiki-users] php/strftime question

Jon Haupt jhaupt at gmail.com
Thu Sep 21 09:13:03 CDT 2006

Hi all,

Why doesn't this work:

$blogposttime = 'strftime("%H", $page["ctime"])';
if ($blogposttime == "22") $FmtPV['$BlogTimeOfDay'] = "It was getting late";

When I try using {$BlogTimeOfDay} in a page, nothing is returned.  All I
want to do is have the time of day displayed not in numeric fashion, but
using a custom message corresponding to the time of day.  Perhaps I
misunderstood strftime?  Or I have something mixed up?

Jon Haupt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060921/25bc451f/attachment.html 

More information about the pmwiki-users mailing list