SHARE
TWEET

Untitled

a guest Aug 19th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $tiempoDelAnioFuturo = strtotime("+1 year");
  3. $formateado = date("Y-m-d H:i:s", $tiempoDelAnioFuturo);
  4. echo "Dentro de un año 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