Paste Search Dynamic
Recent pastes
dateArray
  1. <?php
  2. $date = '08/02/2021';
  3.  
  4.         $dateArray = explode('/', $date);
  5.  
  6.         echo $dateArray[2] . '-' . $dateArray[1] . '-' . $dateArray[0];
  7.  
  8. ?>
Parsed in 0.005 seconds