Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Solved: logic tag inside a logic tag : S1

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • 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: 2907
1
Java Spring Ubuntu
  • 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 !!




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic