- var_dump: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
- sprintf: documentation ( source)
<?php
$timestamp = date('Y-m-d H:i:s', strtotime(sprintf('%d-%d-%d %d:%d:%d',
2014,
'02',
'02',
'00',
13,
59)));
var_dump($timestamp);