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> <<a href="mailto:benoit.dutilleul@googlemail.com">benoit.dutilleul@googlemail.com
</a>><br>Date: 9 juin 2007 19:23<br>Subject: Manipulating dates with MarkupExpressions & 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="Events.Event-{(ftime %s)}" AddEvent:)<br>(:input text EventYear "{$thisyear}":)
<br>(:zap EventDate={(ftime fmt='%s' when='{$EventYear}')} AddEvent:)<br>(:zap savedata="EventDate" AddEvent:)<br>(:input submit:)<br>(:zapend:)<br><br><br>Any idea of how I can make it work?