Codice PHP:
$query="update tabella set data='".date("Y-m-d",(time()+1728000))."'"
1728000 sono 20 giorni