How to compare a date?

[email protected]
Newsgroups gmane.comp.cms.jahia.template
Message-ID <OFCC922BEE.2FCCB094-ONC12570A8.004BE236-C12570A8.004BE23B@generic.se>
I have a container with a startDate and an endDate field.

I want to show the container if curent date is in between those dates.

How can I compare with current date? (System.currentTimeMillis())

I can find some java code doing by using java code (scriplet) (box_news.inc).

But how can we do this by using taglibs (jahia,jstl,struts)?

...

<content:dateField ..../>

...

<c:if test="${ ????? }">

// Show container fields...

</c:if>

...

Regards

/Lars Hagrot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.