title: I have a date in(string) in dd-mon-yyyy format and I want to compare this date with system date
body: <p>I have a date in(string) in dd-mon-yyyy format and I want to compare this date  with system date.</p>
  
  <p>eg.
  I have 12-OCT-2010
  and I want to compere this with system date in same format </p>