Your technology certification is waiting. Enroll in Cloud Class ®
String timestamp = new java.sql.Timestamp(d.getTime()).toString();
Open in new window
to yyyy-mm-dd HH::MM::ss
The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
The value is I get from SOLR is of type DATE
I would like to convert it to format (yyyy-mm-dd HH:MM:ss) and return this value as type 'Date'
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.