[opencms-dev] Default date currenttime + something?

Marc Johnen opencms at johnen.biz
Mon Aug 16 20:23:30 CEST 2010


Hello everyone,

I can easily set the current date for an element by adding this to the XSD:
<default element="Created" value="${currenttime}"/>

Is it also possible to add the current date plus 2 weeks, e.g. doing
something
like:
<default element="Created" value="${currenttime + 10000}"/>
?

I couldn't find out how.

Thanks and greetings
Marc Johnen

http://www.johnen.biz
-- 
View this message in context: http://old.nabble.com/Default-date-currenttime-%2B-something--tp29449183p29449183.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list