Replace ur condition wid below one
if( Convert(varchar,@CheckTime,101) = Convert(varchar,getdate(),101) )
begin
UPDATE Biometrics
SET [Name] = @Name,[Date]=InTime ,Group_Id = @Groupid, OutTime = @CheckTime, Duration=DATEDIFF(mi, InTime , @CheckTime) where id=@id
end
plz vote and accept ans if it helps u :)
if it works for u i wll explain u y ur code wsnt workin
happy coding buddy :)