Ethereal-users: Re: [Ethereal-users] Setting Time Zone

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

From: Justin Walker <justin@xxxxxxx>
Date: Mon, 28 Jun 2004 11:07:32 -0600

On Jun 28, 2004, at 11:01, Marc Dver wrote:

How do I set the time zone for logging? What I would like to do is have my computer set for my real time zone (because I have a program that depends on having the correct time zone set) and have Ethereal log events based on GMT.

The answer depends very much on how the system you are using deals with time zones, time, and the like.

In a typical Unix system, you should be able to do this by setting an environment variable (e.g., TZ), as in the following:

$ date
Mon Jun 28 11:06:20 MDT 2004
$ TZ=GMT date
Mon Jun 28 17:06:27 GMT 2004

(using 'bash'; 'csh/tcsh' syntax will differ).

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*