title: oracle function like days360 in excel
body: <p>Is there  any oracle functions which will return the number of days between two dates like days360 function in excel?</p>
  
  <hr>
  
  <p>DAYS360 :
  "Returns the number of days between two dates based on a 360-day year (twelve 30-day months), which is used in some accounting calculations. Use this function to help compute payments if your accounting system is based on twelve 30-day months.</p>
  
  <p>If the starting date is the last day of a month, it becomes equal to the 30th of the same month. If the ending date is the last day of a month and the starting date is earlier than the 30th of a month, the ending date becomes equal to the 1st of the next month; otherwise the ending date becomes equal to the 30th of the same month."</p>