tag:blogger.com,1999:blog-8815881187810062309.post8888943675304041599..comments2016-05-30T11:32:49.138+03:00Comments on J2EE Cookbook: Formatting date to client timezoneMykola Paliyenkohttp://www.blogger.com/profile/02866042640294053551noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8815881187810062309.post-44365941751583058712013-01-09T02:11:23.758+02:002013-01-09T02:11:23.758+02:00It is not handle daylight-saving time.
It is not h...It is not handle daylight-saving time.<br />It is not handle changing of timezone with a time.Anton B.https://www.blogger.com/profile/08170041034213765035noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-77474050021854331772012-03-29T11:26:48.866+03:002012-03-29T11:26:48.866+03:00Thanks a lot, I'm looking of this to deal with...Thanks a lot, I'm looking of this to deal with my website a sort a Calendar.Bowie Brotosumpenohttps://www.blogger.com/profile/06721510899881768194noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-91859520456030530072008-11-16T11:54:00.000+02:002008-11-16T11:54:00.000+02:00This is not working in case when you need to get t...This is not working in case when you need to get timezone with daylight changes(e.g Moskow). I `m try to find solution now.<BR/><BR/>timeZone.useDaylightTime() // false ever.Alexogarhttps://www.blogger.com/profile/16363270144221510672noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-19791296636050492282008-10-16T17:51:00.000+03:002008-10-16T17:51:00.000+03:00I know this is an old post but you can now get loc...I know this is an old post but you can now get locale from the request object.<BR/><BR/>getLocale()<BR/>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html#getLocale()Unknownhttps://www.blogger.com/profile/14955278886591058263noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-70741297014389062422007-09-07T18:10:00.000+03:002007-09-07T18:10:00.000+03:00Cant you do the same thing - setting the getTimezo...Cant you do the same thing - setting the getTimezoneOffset() in the request parameter and pass that to the server in a hidden parameter (form post). This would also require an additional server trip as your solution (cookie); but would be much more easier. If someone has ideas on how to do this in AJAX let me know as this would be an asynchronous call back and wont require a page refresh.ksshttps://www.blogger.com/profile/16789011113076083047noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-77375020971226921192007-07-02T10:57:00.000+03:002007-07-02T10:57:00.000+03:00Rajan, just use it, after you will done all steps ...Rajan, just use it, after you will done all steps described above fmt:formatDate will format all dates to the client timezone, not to the server one.<BR/><BR/>HTHMykola Paliyenkohttps://www.blogger.com/profile/02866042640294053551noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-9918794911407745952007-06-29T09:56:00.000+03:002007-06-29T09:56:00.000+03:00Hi...I found this post to be useful...can I exact...Hi...I found this post to be useful...can I exactly know how to use fmt:formatDate tag here?<BR/><BR/>If I just use fmt:formatDate..that doesn't help much. as It displays the date local to the server. If I don't want to use the variable, I don't need to set the scope attribute in the fmt:formatDate.<BR/><BR/>Thanks in advance.<BR/><BR/>RajanRajan Chandihttps://www.blogger.com/profile/02193793780434983053noreply@blogger.comtag:blogger.com,1999:blog-8815881187810062309.post-55127152343530404472007-06-18T13:52:00.000+03:002007-06-18T13:52:00.000+03:00Thanks for the quick and clean solution that doesn...Thanks for the quick and clean solution that doesn't require any additional tricks with <I>fmt:formatDate</I><BR/>alike custom tags. I wish you blogging with never-fading enthusiasm :)Andrew Gomilkohttps://www.blogger.com/profile/13280337774018189233noreply@blogger.com