title: Dates manipulations in iReport
body: <p>I have datetime column which has data like: 2013-04-19 23:44:27.357</p>
  
  <p>In <em>iReport</em> I'm using expression <code>new SimpleDateFormat("h:mma").format($F{domain_datetime})</code> to display only the time.</p>
  
  <p>In the expression above I'd like to say if time greater then 23:59 then instead of displaying time I want to display a day, for example 5 MAR 13, otherwise display a time.</p>
  
  <p>How to do it?</p>