Home

Friday, January 13, 2012

How i get the current system time using php?

<?php
$time_now=mktime(date('h')+5,date('i')+30,date('s'));
print "<br>".date('h:i:s',$time_now);
?>

1 comment:

  1. Thank you for the code.
    It works fine.

    ReplyDelete

rathoddhirendra.blogspot.com-Google pagerank and Worth