> Online tutorial : time in php
Showing posts with label time in php. Show all posts
Showing posts with label time in php. Show all posts

time in php

time() function returns the current time as unix tiemstamp (the number of seconds since jan 1 1970 00:00:00 GMT)
Syntax
time(void)
Example


<?php
$curr=time();
print_r("$curr");
?>
Output: