int time ( void ) gets the current time in epoch format is time( ) : time « Date « PHP






int time ( void ) gets the current time in epoch format is time( )

 
<?
    print time( );
    $CurrentTime = time( );
    print $CurrentTime;
?>
  
  








Related examples in the same category

1.A simple echo of the timestamp
2.Adding two days to the date
3.Another date interval with epoch timestamps