Forums Register Login

Convert datetime value to EST

+Pie Number of slices to send: Send
I have an XML file in which one of the nodes has a datetime value of format '2008-08-16T23:42:00Z'. When I read the xml file, I read this datetime value as a String. How can I convert this datetime value to a EST and display it as yyyy-MM-dd HH:MI:SS?
+Pie Number of slices to send: Send
How about with the SimpleDateFormat

(exception handling, imports, and method bodies excluded for clarity)
+Pie Number of slices to send: Send
Thank you very much Travis. That worked for me.
You got style baby! More than this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 9552 times.
Similar Threads
french characters shown as ? in jsp
Changing timezones using XSL
Convert DateTime to TimeStamp
converting milliseconds to readable date in XSL
XML Parser
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:09:51.