This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Solved: logic tag inside a logic tag : S1

 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ..

I'm writing something like this:



The logic is, I'm checking the today's date between two dates, i.e between startdate and endDate properties.

But this two things, not working together. If used single logic tag, whether greater than or less than, then it works !!

What might be the problem ?

Thanks.
 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sorry, I found the answer.

The problem is , I'm considering them a date object, but they are plain string in the format, "dd/MM/yyyy" (Using DateFormat class). So when I swap the logic tags, by changing lessthan to greaterthan and vise a versa.. It works !!




 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic