A simple echo of the timestamp : time « Date « PHP






A simple echo of the timestamp

 
<?php
$timestamp= time(  );
echo $timestamp;
?>
  
  








Related examples in the same category

1.Adding two days to the date
2.Another date interval with epoch timestamps
3.int time ( void ) gets the current time in epoch format is time( )