Click here to Skip to main content
16,011,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling DLL's Pin
Venet26-Jun-02 6:13
Venet26-Jun-02 6:13 
GeneralVS.Net Webforms designer - How-to Pin
alper25-Jun-02 21:20
alper25-Jun-02 21:20 
QuestionHow to dispaly "Systeminformation" dialog? Pin
Feng Qin25-Jun-02 18:15
Feng Qin25-Jun-02 18:15 
AnswerRe: How to dispaly "Systeminformation" dialog? Pin
Chris Rickard26-Jun-02 4:54
Chris Rickard26-Jun-02 4:54 
GeneralRe: How to dispaly "Systeminformation" dialog? Pin
Feng Qin26-Jun-02 16:21
Feng Qin26-Jun-02 16:21 
GeneralCustom web control Pin
25-Jun-02 15:46
suss25-Jun-02 15:46 
GeneralRe: Custom web control Pin
Rocky Moore25-Jun-02 17:10
Rocky Moore25-Jun-02 17:10 
GeneralTimeZone Pin
Chris Melinn25-Jun-02 13:45
Chris Melinn25-Jun-02 13:45 
I am having problems finding out how to convert a time from a client's local time zone to GMT/UTC.

It seems the classes I should use would be in the .NET SDK for either System.TimeZone or System.Datetime. However, the .NET Framework SDK's System.TimeZone object does not have a public constructor (and is abstract) and the System.DateTime only creates its CurrentLocalTime according to the server the code is running on.

So, how do I create and specify another timezone? Most of the examples I have found either use JavaScript to display the value in the client's system time or use the standard offset for the client's timezone (which usually does not take into account Daylight Standard Time and the varying dates that the timezone switches to Daylight Time).

Any help is greatly appreciated. Thanks!

Chris

GeneralRe: TimeZone Pin
Chris Rickard25-Jun-02 14:58
Chris Rickard25-Jun-02 14:58 
GeneralResource files and user types Pin
25-Jun-02 0:18
suss25-Jun-02 0:18 
GeneralRe: Resource files and user types Pin
Chris Rickard26-Jun-02 4:41
Chris Rickard26-Jun-02 4:41 
GeneralThanks! Pin
3-Jul-02 7:32
suss3-Jul-02 7:32 
GeneralUsing Interfaces with .NET Remoting Pin
tmagoo24-Jun-02 19:34
tmagoo24-Jun-02 19:34 
GeneralRe: Figured it out Using Interfaces with .NET Remoting Pin
tmagoo25-Jun-02 18:38
tmagoo25-Jun-02 18:38 
GeneralRan into a problem Pin
Brian Olej24-Jun-02 12:11
Brian Olej24-Jun-02 12:11 
GeneralRe: Ran into a problem Pin
Rama Krishna Vavilala24-Jun-02 12:29
Rama Krishna Vavilala24-Jun-02 12:29 
GeneralRe: Ran into a problem Pin
Brian Olej24-Jun-02 12:33
Brian Olej24-Jun-02 12:33 
GeneralCopying object data Pin
Zombies with Coffee, LLC24-Jun-02 9:49
professionalZombies with Coffee, LLC24-Jun-02 9:49 
GeneralRe: Copying object data Pin
Chris Rickard25-Jun-02 14:19
Chris Rickard25-Jun-02 14:19 
GeneralRe: Copying object data Pin
Zombies with Coffee, LLC25-Jun-02 16:50
professionalZombies with Coffee, LLC25-Jun-02 16:50 
GeneralRe: Copying object data Pin
Chris Rickard26-Jun-02 4:11
Chris Rickard26-Jun-02 4:11 
GeneralRe: Copying object data Pin
Zombies with Coffee, LLC26-Jun-02 4:19
professionalZombies with Coffee, LLC26-Jun-02 4:19 
GeneralPassing a ref of a form Pin
24-Jun-02 9:29
suss24-Jun-02 9:29 
GeneralRe: Passing a ref of a form Pin
Chris Rickard24-Jun-02 9:37
Chris Rickard24-Jun-02 9:37 
GeneralWhat about now?? Pin
24-Jun-02 10:53
suss24-Jun-02 10:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.