Paste Search Dynamic
Recent pastes
date format
  1. <?php
  2.  
  3. $ddate = "2012-10-18";
  4. $date = new DateTime($ddate);
  5. $week = $date->format("W");
  6. echo "Weeknummer: $week";
  7.  
  8.  
  9.  
  10. ?>
Parsed in 0.005 seconds