Thanks Chris for additional info.
Thanks,
Sriram
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-date-retrieve-back-UTC-tp4187449p4187503.html
Sent from the Solr - User mailing list archive at Nabble.com.
: to get the UTC back which I thought might not be required as already the
: cDate field in that Date class is having the UTC date.
general suggestion: your life will be a lot easier if you stop looking at
the implementation details of JVM classes -- just because your current JVM
implements the
Thanks Chris for your quick reply. As you said, I need to do some conversion
to get the UTC back which I thought might not be required as already the
cDate field in that Date class is having the UTC date.
The toString() doesn't actually give me timestamp in UTC format. It gives,
Mon Sep 15 12:52:
: But when I use SolrJ and get it as object, I am seeing that the UTC date is
: of type Date and I am not able to retrieve back the UTC date from it and I
: get only long timestamp from that object.
:
: I also see a private variable in that Date class called as cDate which has
: what I want (Date