0

私が抱えている問題は、来週の水曜日を調べようとすることです。

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

との値は同じに$next_wednesdayなります$this_wednesday

4

4 に答える 4

1
    <?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)));

   ?>
于 2013-06-27T07:02:25.470 に答える