how to get Next month date from today date (i.e) exactely one month expires from today date

Posted by Ranjana on Stack Overflow See other posts from Stack Overflow or by Ranjana
Published on 2010-05-31T09:38:39Z Indexed on 2010/05/31 9:42 UTC
Read the original article Hit count: 165

Filed under:
|
|

i have maintained two datas into my table

1 column 2 column PaidDate validitydate

in padidate ill give insert todaydate. but in validity date i may either insert validity for 1 week/1 month.

I have used validity=DATEADD(Day,7,@paiddate) to insert validity for 1 week. but how to gtet the validity for 1 month from todays date

© Stack Overflow or respective owner

Related posts about sql

Related posts about datetime