• 20-09-2023, 02:07:54
    #1
    Merhabalar,
    date("d.m.Y",strtotime('+1 days'));
    yukarıdaki kod ile tarihe 1 gün ekleyebiliyoruz fakat benim bu tarihi $gun değişkeni ile gelen sayı ile yazdırmak istiyorum bunu nasıl yapabilirim?
  • 20-09-2023, 02:11:55
    #2
    Üyeliği durduruldu
    echo date("d.m.Y",strtotime($gun,strtotime("+1 days"));
  • 20-09-2023, 02:14:11
    #3
    Cevabın için teşekkürler ama şu şekilde çözdüm
    echo date('d.m.Y', strtotime($tarih . ' +' . $gun . ' days'))