SHARE
TWEET

Untitled

a guest Aug 19th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $dentroDeDosSemanas = strtotime("+2 week");
  3. $formateado = date("Y-m-d H:i:s", $dentroDeDosSemanas);
  4. $formateadoAhora = date("Y-m-d H:i:s");
  5. echo "Ahora es $formateadoAhora y dentro de 2 semanas serĂ¡ $formateado";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top