×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Vlad Krasovsky
Added: Oct 22, 2014 10:10 PM
Views: 42
Tags: no tags
фыв
  1. <?php
  2.  
  3. $fuzz = fuzzFramework::getInstance();
  4. require_once("{$fuzz->config->get(fuzzConfig::TYPE_PATH_BASE)}/lib/classes/timeConverter.php");
  5.  
  6. $formVals = fuzzForm::getSubmitDataFormValues($submitData);
  7.  
  8.  
  9. fuzzUtils::setCookieValue('client-timezone-offset', $formVals["gmt"], false);
  10. //setcookie('client-timezone-offset', $formVals["gmt"], time()+60*60*24*30);
  11.  
  12. $gmtVal = $formVals["gmt"];
  13.  
  14. fuzzController::setConfirm("Time-zone has been updated: $gmtVal </br> It could take 10 minuts to adjust time.");
  15.  
  16. ?>
  17.