See this post that I explain how I get date with number of days added using web viewer extension/
web viewer