PHP: time() function
The time() function returns the current time as Unix timestamp. The Unix timestamp measures time as a number of seconds since midnight of Greenwich Mean Time on January 1, 1970.
(PHP 4 and above)
Current Unix timestamp
Value Type: Integer.
<?php $curr_time = time(); echo(date('D F d Y', $curr_time)); ?>
Tue October 03 2017
Note : Since the time/date is not static, therefore the output may vary.