in reply to Time zone of the system

Try it,

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time +);

Regards,
Velusamy R.

Replies are listed 'Best First'.
Re^2: Time zone of the system
by Anonymous Monk on Sep 28, 2005 at 09:52 UTC
    That neither gives you a timezone (the last field only indicates whether daylight saving time is active or not), nor does it give you system time information. localtime gives you the time for whatever timezone your process has set (or inherited). Which may be the same as your system timezone, but on a typical Unix system, most likely is not.