pastebin

Paste Search Dynamic
Recent pastes
dt format
  1. <?php
  2. $str = date("Y-m-d");
  3. $dt = new DateTime($str);
  4. $dia = $dt->format('w');
  5. echo $dia;
  6. ?>
Parsed in 0.011 seconds