Adding integer number to integer date

Database
Enthusiast

Adding integer number to integer date

need help to convert this SQL code to Teradata code

 

 

select * 
into #PHV
from     Bingo_table
where Date_ID between firstDate_ID and convert(int,convert(varchar(100),(CONVERT (datetime, CONVERT (char(8),firstDate_ID))+7),112))

 

Date_ID - integer date like 20170502

firstDate_ID - ineteger date like 20170502