how to fetch the current date in php code example
Example: php current date get
date_default_timezone_set('Asia/Kolkata');
echo date("Y-m-d H:i:s"); // time in India
date_default_timezone_set('Asia/Kolkata');
echo date("Y-m-d H:i:s"); // time in India