/**
  * date
  * @return mixed|string|void  	 	    	    		  	 	  	 	  		 	 		    	 			 	   		  	 	 		 	 	   	      	  	 		 		 				 			 		  		    	 		 		  
  */
 static function getUserTimezone()
 {
     $env = ExtraWatchEnvFactory::getEnvironment();
     //	    if we have an anonymous user, then use global config, instead of the user params
     if ($env->getUsersCustomTimezoneOffset()) {
         $userTimezone = $env->getTimezoneOffset();
     } else {
         $userTimezone = $env->getTimezoneOffset();
     }
     /* if the user has no timezone defined, use the timezone from server configuratio */
     if (!isset($userTimezone)) {
         $config = new JConfig();
         $userTimezone = $config->offset;
     }
     if ($userTimezone && !is_numeric($userTimezone)) {
         $userTimezone = ExtraWatchHelper::getTimezoneOffsetByTimezoneName($userTimezone);
     }
     return $userTimezone;
 }