strptime

it parses  time/date generated with strftime()
Example

<?php
echo “<pre>”;
$format = ‘%d/%m/%Y %H:%M:%S’;
$strftime = strftime($format);
echo $strftime.”<br />”;
print_r(strptime($strf, $format));
?>

Output

25/04/2012 12:52:25