No idea about how to make this work?<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Benoit Dutilleul</b> &lt;<a href="mailto:benoit.dutilleul@googlemail.com">benoit.dutilleul@googlemail.com
</a>&gt;<br>Date: 9 juin 2007 19:23<br>Subject: Manipulating dates with MarkupExpressions &amp; ZAP<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><br></span>I am working on a system to manage a list of events. Each event is defined by a title, a description, a date and a venue. I have problems to have the dates working properly. Indeed, my zap form asks the user adding the event for a year, a month, a day and an hour but I want all this information to be converted into a timestamp.
<br><br>This is how I am trying to do it - without success - for the moment:<br><br>(:zapform key=AddEvent:)<br>(:zap datapage=&quot;Events.Event-{(ftime %s)}&quot; AddEvent:)<br>(:input text EventYear &quot;{$thisyear}&quot;:)
<br>(:zap EventDate={(ftime fmt=&#39;%s&#39; when=&#39;{$EventYear}&#39;)} AddEvent:)<br>(:zap savedata=&quot;EventDate&quot; AddEvent:)<br>(:input submit:)<br>(:zapend:)<br><br><br>Any idea of how I can make it work?