Michael Dunn wrote:try the Calendar class
vittal mareddy wrote:Users are accessing web application from different countries, application is deployed in Germany. code is getting time in germany time zone, in application getting timezone offset(difference server to client) adding / subtracting to server time.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
vittal mareddy wrote:I have hard coded timezone value as America/Los_Angeles to get user TimeZone object. my question here is how i can find time zone value which i have hard coded(America/Los_Angeles), is there any java script method available or httprequest will have.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Ok, from Tony comment, modified my code as below
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|