Home  >  Q&A  >  body text

Why is this last output the Principal's Day?

$day = date('D');

switch($day){

I didn’t write the specific day of the week

我是你们的爹。我是你们的爹。2647 days ago1062

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-08-15 11:32:31

    data('Y-m-d')

    The letter parameters inside represent the year, month and day respectively

    reply
    0
  • 大家讲道理

    大家讲道理2017-08-15 11:28:42

    You need to understand what function date is

    reply
    0
  • Cancelreply