Get data between last three years,
-
30-10-2019 - |
Question
I'm try to load data between lasst three years. i want to get data between current datetime and last 3 years back.
eg:-FROM 1/19/2009 TO current time (1/19/2012)
I get the current time as below.
String date= DateFormat.getDateInstance().format(new Date());
Could someone please tell me the way to do this? If you have any worked through examples, that would be a real help!
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow