Tuesday, January 19, 2010

How to get current time in php

<?php

$time = date('g:i a');

echo $time;

?>

No comments: