lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Barr <mi...@magpie.net>
Subject Re: Timestamps as milliseconds
Date Wed, 26 Jul 2006 15:02:42 GMT
Michael J. Prichard wrote:

> I guess the more I think about it I don't really care about the 
> minutes in the initial.  All that matters is the date (i.e. 
> 2006-07-25).  The only thing I would need the time for would be for 
> sorting so I need to have that too.  Ideas?
>

Store as much detail as you need to sort by. For display purposes just 
use java.text.SimpleDateFormat to only show the date and not the time.



Miles

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message