PHP strtotime()('Wednesday')和('next Wednesday')之间有所不同

The problem I'm having is in trying to look up wednesday of next week.

$next_wednesday = strtotime("next Wednesday 19:00:00"); 
$this_wednesday = strtotime("Wednesday 19:00:00");

The values for $next_wednesday and $this_wednesday come out the same

Use

$this_wednesday = strtotime("Wednesday 19:00:00");
$next_wednesday = strtotime("+1 week Wednesday 19:00:00");

try using more specific texts when using strtotime.

$this_wednesday = strtotime('Wednesday this week 19:00:00');
$next_wednesday = strtotime('Wednesday next week 19:00:00');
<?php
$this_wednesday = strtotime("Wednesday 19:00:00");
$next_wednesday = strtotime('last Wednesday');

echo date('m/d/y h:i a',$this_wednesday) . "
" . date('m/d/y h:i a',$next_wednesday);

See the Demo

    <?php
    $year = 2013;
    $month = 7;
    $day = 5;


    echo date("F j, Y, g:i a",strtotime('next Wednesday')).'<br>';

    echo date("F j, Y, g:i a",strtotime('next 

    Wednesday',mktime(0,0,0,$month,$day,$year)));

   ?>