Home All Groups Group Topic Archive Search About

Where is my Timezone

Author
19 Jun 2006 8:03 PM
Arne Garvander
Is there a way that I can retrieve the timezone my server is runnning in?
My server may not move to another timezone very often, but if we have a
disaster our server my move to another zone during a disaster recovery.

--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)

Author
19 Jun 2006 10:25 PM
Kevin Spencer
DateTime data is not timezone-specific. It adjusts to whatever time zone the
machine is configured as.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.

Show quote
"Arne Garvander" <ArneGarvan***@discussions.microsoft.com> wrote in message
news:AB37D756-8F9D-4BBA-B2A6-C4770E625C45@microsoft.com...
> Is there a way that I can retrieve the timezone my server is runnning in?
> My server may not move to another timezone very often, but if we have a
> disaster our server my move to another zone during a disaster recovery.
>
> --
> Arne Garvander
> (I program VB.Net for fun and C# to get paid.)
Author
19 Jun 2006 10:45 PM
Barry Kelly
Arne Garvander <ArneGarvan***@discussions.microsoft.com> wrote:

> Is there a way that I can retrieve the timezone my server is runnning in?
> My server may not move to another timezone very often, but if we have a
> disaster our server my move to another zone during a disaster recovery.

You mean like TimeZone.CurrentTimeZone?

-- Barry

Author
20 Jun 2006 2:18 AM
Kevin Spencer
> You mean like TimeZone.CurrentTimeZone?

....which the server won't know unless it has been configured for the current
Time Zone!

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.

Show quote
"Barry Kelly" <barry.j.ke***@gmail.com> wrote in message
news:c7ae925bt8n6k4clms7lrqimrsau020j49@4ax.com...
> Arne Garvander <ArneGarvan***@discussions.microsoft.com> wrote:
>
>> Is there a way that I can retrieve the timezone my server is runnning in?
>> My server may not move to another timezone very often, but if we have a
>> disaster our server my move to another zone during a disaster recovery.
>
> You mean like TimeZone.CurrentTimeZone?
>
> -- Barry
>
> --
> http://barrkel.blogspot.com/
Author
20 Jun 2006 2:46 AM
Scott M.
How do you *not* configure a server to know what time zone it is in?!


Show quote
"Kevin Spencer" <u**@ftc.gov> wrote in message
news:%23Ny2K$AlGHA.3596@TK2MSFTNGP05.phx.gbl...
>> You mean like TimeZone.CurrentTimeZone?
>
> ...which the server won't know unless it has been configured for the
> current Time Zone!
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> Professional Chicken Salad Alchemist
>
> I recycle.
> I send everything back to the planet it came from.
>
> "Barry Kelly" <barry.j.ke***@gmail.com> wrote in message
> news:c7ae925bt8n6k4clms7lrqimrsau020j49@4ax.com...
>> Arne Garvander <ArneGarvan***@discussions.microsoft.com> wrote:
>>
>>> Is there a way that I can retrieve the timezone my server is runnning
>>> in?
>>> My server may not move to another timezone very often, but if we have a
>>> disaster our server my move to another zone during a disaster recovery.
>>
>> You mean like TimeZone.CurrentTimeZone?
>>
>> -- Barry
>>
>> --
>> http://barrkel.blogspot.com/
>
>
Author
20 Jun 2006 11:44 AM
Kevin Spencer
> How do you *not* configure a server to know what time zone it is in?!

The same way you *don't* configure the server to know what domain it belongs
to, what its name is, or the same way your *don't* set your alarm clock to
the time you want it to wake you up.

How do you figure the server knows what time zone it is in without someone
configuring it? Time Zones are specific to physical locations on the planet.
Unless the server has a built-n GPS, and special software, which I suppose
may exist somewhere, but is not a part of any Operating System that I know
of, it has no idea where it is.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.

Show quote
"Scott M." <s-mar@nospam.nospam> wrote in message
news:uswynNBlGHA.3816@TK2MSFTNGP02.phx.gbl...
> How do you *not* configure a server to know what time zone it is in?!
>
>
> "Kevin Spencer" <u**@ftc.gov> wrote in message
> news:%23Ny2K$AlGHA.3596@TK2MSFTNGP05.phx.gbl...
>>> You mean like TimeZone.CurrentTimeZone?
>>
>> ...which the server won't know unless it has been configured for the
>> current Time Zone!
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> Professional Chicken Salad Alchemist
>>
>> I recycle.
>> I send everything back to the planet it came from.
>>
>> "Barry Kelly" <barry.j.ke***@gmail.com> wrote in message
>> news:c7ae925bt8n6k4clms7lrqimrsau020j49@4ax.com...
>>> Arne Garvander <ArneGarvan***@discussions.microsoft.com> wrote:
>>>
>>>> Is there a way that I can retrieve the timezone my server is runnning
>>>> in?
>>>> My server may not move to another timezone very often, but if we have a
>>>> disaster our server my move to another zone during a disaster recovery.
>>>
>>> You mean like TimeZone.CurrentTimeZone?
>>>
>>> -- Barry
>>>
>>> --
>>> http://barrkel.blogspot.com/
>>
>>
>
>
Author
20 Jun 2006 9:08 PM
Scott M.
Yes, but during the setup of the OS (at least Windows), you are asked what
time zone you are in so that it gets set to the correct time zone.  So, I
ask again, how do you not configure your server with the correct time zone?


Show quote
"Kevin Spencer" <u**@ftc.gov> wrote in message
news:uPyOn7FlGHA.1600@TK2MSFTNGP04.phx.gbl...
>> How do you *not* configure a server to know what time zone it is in?!
>
> The same way you *don't* configure the server to know what domain it
> belongs to, what its name is, or the same way your *don't* set your alarm
> clock to the time you want it to wake you up.
>
> How do you figure the server knows what time zone it is in without someone
> configuring it? Time Zones are specific to physical locations on the
> planet. Unless the server has a built-n GPS, and special software, which I
> suppose may exist somewhere, but is not a part of any Operating System
> that I know of, it has no idea where it is.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> Professional Chicken Salad Alchemist
>
> I recycle.
> I send everything back to the planet it came from.
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:uswynNBlGHA.3816@TK2MSFTNGP02.phx.gbl...
>> How do you *not* configure a server to know what time zone it is in?!
>>
>>
>> "Kevin Spencer" <u**@ftc.gov> wrote in message
>> news:%23Ny2K$AlGHA.3596@TK2MSFTNGP05.phx.gbl...
>>>> You mean like TimeZone.CurrentTimeZone?
>>>
>>> ...which the server won't know unless it has been configured for the
>>> current Time Zone!
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> Professional Chicken Salad Alchemist
>>>
>>> I recycle.
>>> I send everything back to the planet it came from.
>>>
>>> "Barry Kelly" <barry.j.ke***@gmail.com> wrote in message
>>> news:c7ae925bt8n6k4clms7lrqimrsau020j49@4ax.com...
>>>> Arne Garvander <ArneGarvan***@discussions.microsoft.com> wrote:
>>>>
>>>>> Is there a way that I can retrieve the timezone my server is runnning
>>>>> in?
>>>>> My server may not move to another timezone very often, but if we have
>>>>> a
>>>>> disaster our server my move to another zone during a disaster
>>>>> recovery.
>>>>
>>>> You mean like TimeZone.CurrentTimeZone?
>>>>
>>>> -- Barry
>>>>
>>>> --
>>>> http://barrkel.blogspot.com/
>>>
>>>
>>
>>
>
>
Author
20 Jun 2006 10:50 AM
Barry Kelly
"Kevin Spencer" <u**@ftc.gov> wrote:

> > You mean like TimeZone.CurrentTimeZone?
>
> ...which the server won't know unless it has been configured for the current
> Time Zone!

The OP didn't mention whether it was his software or his hardware that
would be moving. I assumed it was the software that was moving.

If his hardware was moving, then he'd have to go into Date & Time in the
control panel and fix the time zone. Not too much of a biggie, I would
hope.

-- Barry

Author
20 Jun 2006 12:26 PM
Jay B. Harlow [MVP - Outlook]
Arne,
As the others pointed out, TimeZone.CurrentTimeZone will tell you what time
zone your server is configured for.

Now a question for your disaster recovery team & the disaster recovery site.

Do they set and/or change the time zone of the recovery machine to their
time zone or your time zone?

I would expect the recovery machine to be set to your original time zone
although the machine may physically be located in another time zone. As I
would expect the recovery machine to simply be a complete restore of your
original machine (system settings & all!)

Definitely something worth checking during your disaster recovery tests.

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Show quote
"Arne Garvander" <ArneGarvan***@discussions.microsoft.com> wrote in message
news:AB37D756-8F9D-4BBA-B2A6-C4770E625C45@microsoft.com...
| Is there a way that I can retrieve the timezone my server is runnning in?
| My server may not move to another timezone very often, but if we have a
| disaster our server my move to another zone during a disaster recovery.
|
| --
| Arne Garvander
| (I program VB.Net for fun and C# to get paid.)

AddThis Social Bookmark Button