title: How to fetch current year and month from MySQL in JAVA?
body: <p>I want to fetch the records from MySQL for the current year and month.</p>
  
  <p>I am passing to get the today records</p>
  
  <p>Today:
  ("recDate","=", new Date());</p>
  
  <p>Like that, how to fetch for current Month and current Year ?</p>
  
  <p>Thanks in advance</p>
  
  <ul>
  <li>Gnaniyar Zubair</li>
  </ul>