On Wed, Jan 28, 2004 at 07:43:32PM +0530, naveenk wrote:
> How exactly timezone info is calculated. and used to calculate time
> (specific to -t a option)

The time stamps are handed to "localtime()".

> If the ethereal routines are not able to find out time zone.

The Ethereal routines don't even *try* to find out the time zone; they
leave that up to "localtime()" and "mktime()", which are part of the OS
on UNIXes and part of, I think, the C library on Windows, but they
probably ultimately uses information it gets from the OS. 

I.e., the handling of time zones is done entirely in the OS and C
library.  Ethereal doesn't itself do anything about time zones.

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to