fork download
  1. <?php
  2.  
  3. echo date('d/m/Y',strtotime('-1 Monday'));
  4.  
  5. echo "\n";
  6.  
  7. echo date('d/m',strtotime('-1 Monday'));
Success #stdin #stdout 0.03s 23916KB
stdin
Standard input is empty
stdout
21/05/2018
21/05