Hi there,
When I try to get the date, I use getdate() function as below:
$today = getdate();
...
<td>
<?php echo ($today['year']."-".$today['mon']."-".$today['mday']." ".$today['hours'].":".$today['minutes']); ?>
</td>
The date is fine. But the time is not my local time. For example, now is 17:49pm in Hong Kong, and the script shows me $today['hours'] = 9
I wonder where the date and time coming from! Shall I do something like localize stuff?
Thx.