RT Gmt Time issue

Everything is working fine with the exception of Custom Scrips. I am
really confused. mysql is set to US/Pacific, RT is set to US/Pacific,
the server is set to US/Pacific but the rt logs are timestamped GMT and
the script that uses time thusly “return 0 unless $hour >= 6 || $hour <=
18;” operate as if it is GMT. Right now it is 12:54PST, the log entries
are time stamped in GMT "[[Fri Jan 4 20:56:18 2006] [info]: Successful
login for root from (/opt/rt3/share/html/autohandler:197) and the script times
are assuming GMT. Any clues?