1 0 Tag Archives: ist
post icon

Set PHP Date Time local to Asia/Calcutta (Indian Standard Time)

$timezone = “Asia/Calcutta”;
date_default_timezone_set($timezone);
$date = date(‘Y-m-d’);
$time = date(‘H:i:s’);

Leave a Comment