Hi all,

Maybe it’s just been a long day but what’s wrong with the statement below?

                  <property name="HourNow" value="${datetime::get-hour(datetime::now())}"/>

                  <if test="${((int::parse(HourNow) &gt; 9) AND (int::parse(HourNow) &lt; 18))}">

I get the error:

')' expected.
_expression_: ${((int::parse(HourNow) > 9) AND (int::parse(HourNow) < 18))}

 

Anyone able to help?

 

I’m bashing my head against a brick wall it feels.

 

Owen

 



This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please do not disclose, copy or take any action in reliance on it. If you have received this message in error please tell us by reply or telephone +44 (0)20 7448 4620 and delete all copies on your system. Any opinion, advice or information in this email are not necessarily those of the owners or officers of Cresta.

Cresta have taken reasonable precautions to ensure that any attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. Please note that communications sent by or to any person through our computer systems may be viewed by other Cresta employees or officers, strictly in accordance with applicable law.

Reply via email to