Hello!
Is there any way to compare two dates formatted differently in one XWQL
query? Here is my query:
/FROM doc.object('$xcontext.macro.params.parentSpaceClass') AS page WHERE
:validDate >= $currDate ORDER BY $ordCol
$xcontext.macro.params.orderDirection/
validDate - variable, which contains date formatted like this (page
content): /01/10/2014 14:47:08/
$currDate - variable, which contains date formatted like this (from XWili
$xwiki.getDate()): /Thu Nov 06 11:09:40 EET 2014/
If there is some way I can do this, please, answer me, I'll be incredibly
thankful for it. If there isn't, I'll filter gained data with Velocity.
Thank you for all your answers, Katsu
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Compare-different-format-dates-in-an-XWQL…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.