function BindTimeStamp($d) { $d = ADOConnection::DBTimeStamp($d); if (strncmp($d,"'",1)) return $d; return substr($d,1,strlen($d)-2); }