0

get timezone from client

asked 2008-06-16 07:06:53 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5035002

By: oberinspector

Is there already a solution to get the timezone from client to server to format/calculate date-time outputs?

There is a solution with cookies:
http://j2eecookbook.blogspot.com/2007/06/formatting-date-to-client-timezone.html

but i think zk could offer better solutions with ajax, or probably has already...

Is there an api to retrieve other client information like browser, operating system...

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-06-17 00:51:18 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5036923

By: waterbottle

you can listen onClientInfo Event on a root component.
http://www.zkoss.org/doc/devguide/ch07s20s06.html

link publish delete flag offensive edit

answered 2008-06-17 08:29:19 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5037470

By: oberinspector

that works fine... thanks!!!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-06-16 07:06:53 +0800

Seen: 195 times

Last updated: Jun 17 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More