Something is amiss with your global/template suggestion and that as from the format_date operation even before the conditional testing.
My field contains 2003-06-19 00:00:00
If I apply the line <%set time_formated = format_date($Launched, '%hh%:%MM%:%ss%')%>
and print out the value <%time_formated%> I obtain 07:33:33 (time somewhere I presume!)
Same thing for the month_formated which gives me 12 instead of 6.
I have tried reverting the field to a straight date field. No difference.
More time ;) on this one please!
Charly
My field contains 2003-06-19 00:00:00
If I apply the line <%set time_formated = format_date($Launched, '%hh%:%MM%:%ss%')%>
and print out the value <%time_formated%> I obtain 07:33:33 (time somewhere I presume!)
Same thing for the month_formated which gives me 12 instead of 6.
I have tried reverting the field to a straight date field. No difference.
More time ;) on this one please!
Charly