タイムスタンプとは「1970年1月1日 00:00:00 GMT」からの通算秒数
strtotime($date)
$ymd = date("Y-m-d"); echo strtotime($ymd);