now plus 20 years


/ Published in: SQL
Save to your folder(s)

useful if a "valid until" should have an exact ( in this case far future ) value.


Copy this code and paste it in your HTML
  1. SELECT ADDDATE( NOW(), INTERVAL 20 YEAR )

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.