php format to timestamp code example
Example 1: php mysql timestamp format
date("Y-m-d H:i:s", strtotime($_POST['timestamp']));
Example 2: php timestamp format
date("d.m.Y", strtotime($mysqltimestamp)
date("Y-m-d H:i:s", strtotime($_POST['timestamp']));
date("d.m.Y", strtotime($mysqltimestamp)