Change System Timezone Programmatically

Hi,
By using System.Timezone.CurrentTimezone I can get the DST Dates of it, is there a way to change the system timezone so that i can use the CurrentTimezone for other timezones


Thanks



Answer this question

Change System Timezone Programmatically

  • Eisa

    Hi, thanks for your reply, but i need to get the properties and methods of the System.Timezone.
    Because i will need to get the DSTDates and other things such as checking if it is in DST or not, and i will store the DSTDates in a table or something like that.



    Thanks.


  • ZopoStyle

    Hi,

    Please look at the last FAQ in the following link,

    http://www.gotdotnet.com/team/clr/BCL/TechArticles/techarticles/DateTimeFAQ/FAQ.aspx

    HTH,



  • new2SQLRpt

    Ok thanks for your time, but i found this http://www.michaelbrumm.com/simpletimezone.html



  • Unpro

    HI, to make things clear, I would like to change the Timezone of the System (Programmatically using C#) then I will use the System.TImezone.CurrentTimezone to do the things I wanna do.

    Thanks


  • Change System Timezone Programmatically