calculate « Date « JSP-Servlet Q&A





1. Calculate Date having DIFFERENT DATE FORMATS    coderanch.com

Hi .... I want to calculate date difference between 2 DIFFERENT DATE FORMATS ... one of my date format is "yyyy/mm/dd" and the other date format is "yyyy/mm/dd hh:mm:ss" ............... how can i calcaulate the difference between these two dates and then display the result in a String in the format of yyyy/mm/dd ???.??? more over i want to make a ...