×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 9:20 AM
Views: 2827
  1. $timestamp = strtotime($string);
  2. date("Y-m-d H:i:s", $timestamp);