This line has wrong quote-pairs...
SET @strTblQuery = concat("select * from ", _userCode, "_", "Timeline" where dateCreated>=_startDate AND dateCreated<=_endDate);
Try this...
SET @strTblQuery = concat("select * from ", _userCode, "_Timeline where dateCreated>='",_startDate, "' AND dateCreated<='",_endDate,"'");