php timestamp
<?php
$current_Unix_time_in_seconds = time();
echo $current_Unix_time_in_seconds; //Prints ten digit integer
//To convert the above unix integer time to string follow the below steps
$date = date("D d-m-Y", $current_Unix_time_in_seconds);
echo $date;
//prints date in the format of day day-month-year
//for more reference visit the source link
?>