Ethereal-dev: RE: [Ethereal-dev] viewing captures from different timezones

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 16 Jan 2002 10:30:44 -0000
> > If you're running some version of Windows, install some version of UNIX
> > on top of it instead and use the previous solution (unlike UNIX, Windows
> > doesn't, as far as I know, allow per-process time zone settings).
>
> Or load VMWare on your Windows box, install some version of UNIX under
> VMWare, and run Ethereal on that.
>

Windows (at least Win2K which I've just tried it on) does allow per-process
setting of the timezone, so ensure that the TZ variable is set accordingly
before running the executable which then allows time() and gmtime() and
localtime() and friends to do the correct thing.

The awkward thing is setting the TZ var.  I don't think that its possible
from a shortcut, so you'll have to open a command prompt window, do set
TZ=xxx and then path\to\ethereal.

If TZ isn't set, then the timezone set in the control panel is used.

See _tzset() in MSDN for more info.

GB