Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27749

how to compare date and get latest one

Newsgroups comp.lang.java.programmer
Date 2014-03-13 08:16 -0700
Message-ID <374d2575-df01-45de-8267-4c9b579e56be@googlegroups.com> (permalink)
Subject how to compare date and get latest one
From Navneet Mathpal <navneetmathpal93@gmail.com>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

how to compare date and get latest one Navneet Mathpal <navneetmathpal93@gmail.com> - 2014-03-13 08:16 -0700
  Re: how to compare date and get latest one Roedy Green <see_website@mindprod.com.invalid> - 2014-03-13 23:42 -0700
    Re: how to compare date and get latest one Martin Gregorie <martin@address-in-sig.invalid> - 2014-03-14 21:20 +0000
      Re: how to compare date and get latest one Martin Gregorie <martin@address-in-sig.invalid> - 2014-03-14 22:11 +0000

csiph-web