daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Aug 9th, 2015 231 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $dateParams = 'H:i:s d/m/Y';
  3. $currentDate = date($dateParams, time());
  4. $dateInOneMonth = date($dateParams, strtotime("1 month"));
  5.  
  6. echo $currentDate."\n";
  7. echo $dateInOneMonth."\n";
  8. ?>
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