:
date_default_timezone_set('MYT');
This will set the time zone script in Kuala Lumpur, Malaysia (this is your profile country).
Then use:
error_log('['.date("F j, Y, g:i a e O").']'.$msg."<br />\r\n",3,$phperrorPath);
I do not know if you want to leave an HTML tag, so I left it there.
source
share