piero de salvia wrote:

>But is there on "official" way to do it? 
>
I'm unuse if the 'time' tag is available in the latest stable release.
If it is, you can u can use the <mm:time> tag to get the correct value:

<mm:time time="now" id="timenow" write="false"/>

you can then compare a date field with that value, as follows:

    <mm:field name="stop" id="aStop" >
        <mm:isgreaterthan value="$timenow">
    <% endOK = true; %> 
        </mm:isgreaterthan>
    </mm:field>

>and what is the meaning of the
>"playtime" field? it is meant to be used with DateSupport ? is there an
>easier way to check if an instance of mmevents is expired?
>  
>
My guess is playtime is the length of the 'mmevent' (the difference 
between start and stop).
I'm unsure because I haven't used mmevents yet ( I prefer to include 
time fields in my own objects).

Pierre


Reply via email to