pastebin

Paste Search Dynamic
Recent pastes
new DateTime
  1. <?php
  2.  
  3. $a = "04/01/2020";
  4. $b = new DateTime($a. "T00:00:00");
  5. var_dump($b->format('Y-M-d H:i:s'));
  6.  
  7. ?>
Parsed in 0.005 seconds