sql - SSRS 2008 R2 calulate new date from existing that's 1 year later and on Monday? -


hoping can help. have textbox on report need calculate new date value date on report.

i need take existing shipping date (say 5/5/2014) , calculate new date 1 year later on monday of week (so 5/4/2015) -- ship product on mondays.

i know need use dateadd , datepart have been unable find proper formula.

can help?

figured out -- help. took idea gordon had, putting in select statement rather trying manipulate in expression area of textbox on report:`select dateadd(wk,datediff(wk,0,dateadd(yy,1,o.req_date)),0) newdate'

works great! :)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -