Do you seriously not understand how public company reporting works and when firms/sell side analysts and research notes say YTD they mean YTD through last publicly available information, which in the case of vast majority of firms except some retail means June 30th at the moment for 2018?
Dude, do you really not understand what YTD means?
Year to date (YTD) refers to the period beginning the first day of the current calendar year or fiscal year up to the current date. YTD information is useful for analyzing business trends or comparing performance data, and the acronym often modifies concepts such as investment returns, earnings and net pay.”
Investopedia