Add 7 days to my $date

Solved
olivier73 -  
 olivier73 -
Good evening everyone,

How can I add 7 days to my $date? I would like to compare today's date with my date variable plus 7 days:

Thanks for the info!

if (date("d/m/Y") == $date + 7 days)

2 answers

  1. Profile blocked
     
    Hi,

    strtotime('+7 day'))

    --
    Varaldi Q.
    Give me 2 minutes to find you something else...
    0
  2. olivier73
     
    Great, thanks Varaldi Q and have a good evening.
    0