Hello,
I'm still working on this system to manage events and struggling with the
conversion of date and time into a timestamp. Now, I have a basic ZAP script
working but it seems that the ftime markup does not work with ZAP variables.
(:zapform key=AddEvent:)
(:input text EventYear:)
(:zap php_EventDate="strtotime|{EventYear}" AddEvent:)
(:zap EventDate="{php_EventDate}" AddEvent:)
(:zap savedata="EventDate" AddEvent:)
(:input submit:)
(:zapend:)
{$:EventDate}
{(ftime %Y when="{$:EventDate}")}
Can somebody help?
Kind regards,
Benoit
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users