php - date(): It is not safe to rely on the system's timezone settings in CodeIgniter - Stack Overfl

php - date(): It is not safe to rely on the system's timezone settings in CodeIgniter - Stack Overfl

瀏覽:1024
日期:2025-09-30
@Justis pointed me to the right direction, but his code did not work for me. This did: // set default time zone if not set at php.ini if (!date_default_timezone_get('date.timezone')) { date_default_timezone_set('America/New_York'); // put here default tim...看更多