Correcting error: date() It is not safe to rely on …

On some web servers, it throws this error when you upload Simfatic Forms script (or any other PHP script that uses PHP’s date() function)

Error (2): date(): It is not safe to rely on the system's timezone settings..
You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.

In the PHP configuration file (php.ini) we are supposed to set the default time zone setting like this. Usually, the hosting service provider or web server administrator will set this while configuring the web server. If they missed it, you will get this error.

More information:

One way to get this error corrected is to request your web server admin to fix the time zone settings.

If the admins don’t help, try this extension module below. It sets the date.timezone settings before the rest of the script is run.