Php Timestamp From Date String Javascript Substring Last 4