Guest User

Untitled

a guest
Aug 19th, 2019
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $dentroDeCatorceDias = strtotime("+14 day");
  3. $formateado = date("Y-m-d H:i:s", $dentroDeCatorceDias);
  4. $formateadoAhora = date("Y-m-d H:i:s");
  5. echo "Ahora es $formateadoAhora y dentro de 14 días será $formateado";
RAW Paste Data