how to compare date and get latest one

N

Navneet Mathpal

hi ,

For insertion of time i am using Date date=new Date();
all the date are getting inserted in mongodb. now i want the latest time and date from those record which i have inserted
how can i do this using java,
I am using spring framework
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top