declare @StartDate DATETIME = '2018/08/01'
declare @EndDate DATETIME ='2018/09/27'
SELECT
CONVERT (VARCHAR (100),dateadd(day,n.number,@StartDate),23) AS every_time
FROM
master..spt_values n
WHERE
n.type = 'p'
AND n.number <= DATEDIFF(day, @StartDate, @EndDate);