CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How can I change the TZ in Win NT?

    Thank you first of all.
    I am trying to change the TZ in my compunter using the puntenv("TZ=EST5EDT") and _tzset(), it changes the enviroment variable but still the control panel remains without changing the TZ, and I do not know if I am doing something wrong or this TZ only changes for that session and not for the system.

    Thanks again,


  2. #2
    Join Date
    May 1999
    Posts
    42

    Re: How can I change the TZ in Win NT?

    See the SetTimeZoneInformation() docs in MSDN.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured