I can turn date into a unix time stamp:
$timestamp=mktime($hrs,$min,$sec,$month,$day,$year);
How I can turn this stamp into date again?
I try to use
$my_date=getdate($timestamp);
but $my_date is an array and I do not know how to get pure date out of it. When I print
echo $my_date[0];
I just get $timestamp again.