title: Getting DATEPART in HQL or Criteria?
body: <p>How can i get DATEPART of a time using HQL or Criteria ?
  I have googled it up and get some tips, but wasn't enough.
  If there is someone who has experienced it before, please let us know.</p>
  
  <p>Thanks in advance</p>