Hi,
You need to look at java.util.Calendar and java.util.GregorianCalendar,
these can do everything you need. You just load in the timestamp, set
the locale to where ever you want to display the time for and then build
your string.
HTH, Bart.
Hanmay Udgiri wrote:
Hi
We have a date which we store in Database as a timestamp.
While getting a system date we get the date in US time like if the
user has
submitted a request in Aus,if he submits in morning 9 it will have
date at
server side in US time that is around some 17 hours less,we store the
date
with US time and as a timestamp format in DB.
but when the user comes to check the status when he submitted the
request,we
have to show the date which he has submitted,
Do we have any sample code/API which based on region, changes
(adds/reduces)
the time difference and shows to the user.
Thanks and Regards
Hanmayya Udgiri
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]