I am using php date function to get date and time. But time information that I got is incorrect. What can I do for this problem solution? Thanks..
php code :
$d = date('Y-m-d h:i:s');
Have you tried this?
$d = date('Y-m-d H:i:s');
Try using the examples shown here: http://php.net/manual/en/function.date.php Careful that 'h' should be capital.
This should fix it but if still doesn't work, is your computers time correct?