Eğer sorununuzu $gun1 = date("d")+1; şeklinde çözebilecekseniz doğru kullanım:

$gun1 = date("d",time()+86400);