Doing some checking I can find a couple of different ways to do this, but none 
of them are absolute.

1.  I did a Google search on "javascript get timezone" and found several ways 
to do this.  Most require you to put a .js or .jsp file on the web server and 
call it (which you can do with a Run Process action and adding a reference to 
it in the Web Header or Web Footer of the form's view)   
2. You can do something where you get the difference between the client time 
($TIMESTAMP$ in an Active Link) and the server time ($SERVERTIMESTAMP in an 
Active Link) and lookup what time zone that would be

Fred


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Kevin Shaffer
Sent: Monday, April 13, 2015 4:40 PM
To: arslist@ARSLIST.ORG
Subject: Re: Finding the Local TZ for the User Logged In

Number 2.... capture where people are logging in from



Kevin Shaffer, Senior Partner
Partner IT, Inc.
(O) 888-380-8899
(C) 316-208-5341 
(F) 708-887-1704

  

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W
Sent: Monday, April 13, 2015 3:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Finding the Local TZ for the User Logged In

Is your requirement   
   1. To display all Dates/Times in the local timezone of the user   
 or   
   2. To capture where people are located (so it can be reported on)   

If it is for #1 (display of Dates/Times) then leaving the timezone empty on 
User Preferences will do that for you (You only need to fill it out of you want 
to override the automatic internal calculations).

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Kevin Shaffer
Sent: Monday, April 13, 2015 2:18 PM
To: arslist@ARSLIST.ORG
Subject: Finding the Local TZ for the User Logged In

I have a request from a customer for the following.

Scenario:  A user logs into the Mid-Tier.  The customer would like me to 
capture the local TimeZone of the person that is logged in and automatically 
update the timezone field on the Locale tab in the User Preferences form for 
that person.

Has anyone had a similar requirement or have any suggestions?  

TIA

Kevin Shaffer, Senior Partner
Partner IT, Inc.
(O) 888-380-8899
(C) 316-208-5341
(F) 708-887-1704

 



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers 
Are, and have been for 20 years"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to