Time zones

7 views
Skip to first unread message

bhupi

unread,
Oct 4, 2010, 10:58:34 AM10/4/10
to Hardhats
Hi,

I want to run two namespace on same IP with different port on
different Time zone on FOIA Vista. Suppose Client is residing in
California it should be according to his time zone irrespective server
location.


Regards,

Bhupinder

Chris Farley

unread,
Oct 4, 2010, 12:21:21 PM10/4/10
to hard...@googlegroups.com
VistA uses the time-zone of the server. If you want two time-zones, you
need two "machines" - either physical or virtual.

Christopher B. Farley
HIT Consultant

Hi,


Regards,

Bhupinder

--
http://groups.google.com/group/Hardhats
To unsubscribe, send email to Hardhats+u...@googlegroups.com


r...@rcresearch.us

unread,
Oct 4, 2010, 1:04:13 PM10/4/10
to hard...@googlegroups.com
With current VistA, this is correct. I have been working on an extended
date/time field that resolves this issue, but it will take some work and a
couple of new utilities. The time frame should always be presented in the
time frame of the observer.

bhupinder Singh

unread,
Oct 4, 2010, 1:12:06 PM10/4/10
to hard...@googlegroups.com
how can we move forward about setting up virtual server in scenarios,
if we have one server in asia another server (virtual one) in US.

Regards,
Bhupinder Singh

K.S. Bhaskar

unread,
Oct 4, 2010, 6:28:52 PM10/4/10
to hard...@googlegroups.com
Are you running two different VistA instances on the same server? Or do
you want the same VistA instance to present two different timezones to
two different users?

The latter is beyond me - and I suspect that VistA won't handle it either.

The former is totally trivial if you are running VistA on GT.M. Just
ensure that the TZ environment variable is set to the correct timezone
for each VistA instance. UNIX/Linux systems run the system clock on UTC
and timezone is a property of each process, with a system default for any
processes that don't specify a timezone. For example, on my system, the
default timezone is US Eastern time, but I can get any timezone I want.

$ cat /etc/timezone
America/New_York
$ date
Mon Oct 4 18:26:16 EDT 2010
$ TZ=CST6CDT date
Mon Oct 4 17:26:34 CDT 2010
$ TZ=Asia/Kolkata date
Tue Oct 5 03:56:48 IST 2010
$

So to run multiple VistA instances on the same machine, just ensure that
TZ is set correctly for the processes in each instance.

Regards
-- Bhaskar

GT.M - Rock solid. Lightning fast. Secure. No compromises.

_____________

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_____________

bhupi

unread,
Oct 5, 2010, 8:17:04 AM10/5/10
to Hardhats
Thanks for the support. Now its working fine after setting TZ
environment variable.

Regards,
Bhupinder Singh
> _____________- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages