if ($USER->{timezone} != CGI::param('settimezone') && CGI::param('settimezone')) { # change user setting }