$gmdate_bugfix = (date('Z', $neuesms[sendezeit]) / 3600 - $userinfo['tzoffset']) * 3600;
$gmdate_bugfix = (date('Z', $neuesms[sendezeit]) / 3600 - $userinfo['tzoffset']) * 1;