G2A Many GEOs

Convert date

a guest Apr 5th, 2015 472 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function change_date_format($x) {
  2.     $date = DateTime::createFromFormat('d/m/Y', $x);
  3.     $x = $date->format('Y-m-d');
  4.     return $x;
  5. }
RAW Paste Data
Ledger Nano X - The secure hardware wallet
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