Question and answer is powered by AnsPress.io
I use NOW() in uploading time to database. But it takes the server location timezone. I want to upload time Asia/Dhaka timezone. If anyone know or solve it before, please help.
date_default_timezone_set('Asia/Kolkata');
//This is the PHP function to set timezone in the server
$update_timestamp = date('Y-m-d H:i:s');