RE: How do I generally set a TimeZone for the application session
- From: katyk@xxxxxxxxxxxxxxxxxxxx (Katy King)
- Date: Fri, 17 Jun 2005 01:47:18 GMT
You can't set the current time zone through managed code, on either the
machine or process level.
We are looking into adding timezone features for future versions of the
Framework, but it's not there now.
I recommend you transmit and store all date values as UTC, and only use the
local timezone for displaying.
Katy
From: "=?Utf-8?B?QmVuamFtaW4=?=" <benjamin.tengelin@xxxxxxxxxxxxx>
|
| Hi!
|
| I want my .NET Windows Form client to be executing with the same TimeZone
&
| Daylight setting as we have on the server. This has to be done to stop
making
| the "data set/web service logic" changing date values accordning to time
zone
| difference.
|
| Let us to simplify the scenarion say that the time zone used on server
can
| be hard coded in client, it will never change.
|
| It is possible to change something in
| "System.Threading.Thread.CurrentThread.CurrentCulture"
| or "System.Windows.Forms.Application" ?
|
| Of course I do not want my application to change the setting on the
client
| machine, only my application should be affected.
|
| Best regards,
| Benjamin, Sweden
|
.
- Follow-Ups:
- References:
- Prev by Date: Re: generic error in GDI+ occurs when drawing windows metafile
- Next by Date: RE: How to get MAC address of windows client.
- Previous by thread: How do I generally set a TimeZone for the application session
- Next by thread: RE: How do I generally set a TimeZone for the application session
- Index(es):
Relevant Pages
|