The Date/Time that comes out as a result of a form being submitted is way wrong. It may be pulling the time from my Server/Cpanel which seems to be far away. Is there a way to make it get the system time on the computer? Or somewhere in my timezone? Thanks guys!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PHP is server side scripting so be default the date will be according to your server. The date function can certainly be adjusted for any time zone.
1) Find the date function in your processor.php file.
2) Lookup "php date" on the web and find the date function syntax and modify your code accordingly.
If you still have trouble send me a copy of your date function and I'll help you out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This helped form me for changing the forms to EST Timezone.
You may have your web server located in the US or UK, but the target audience might be in elsewhere around the world. And I am sure you want the set local timezone instead of using the server’s timezone. For instance, place the following code in the htaccess file, This will allow PHP to out put current Chicago time instead of the server’s time.
The Date/Time that comes out as a result of a form being submitted is way wrong. It may be pulling the time from my Server/Cpanel which seems to be far away. Is there a way to make it get the system time on the computer? Or somewhere in my timezone? Thanks guys!
PHP is server side scripting so be default the date will be according to your server. The date function can certainly be adjusted for any time zone.
1) Find the date function in your processor.php file.
2) Lookup "php date" on the web and find the date function syntax and modify your code accordingly.
If you still have trouble send me a copy of your date function and I'll help you out.
This helped form me for changing the forms to EST Timezone.
You may have your web server located in the US or UK, but the target audience might be in elsewhere around the world. And I am sure you want the set local timezone instead of using the server’s timezone. For instance, place the following code in the htaccess file, This will allow PHP to out put current Chicago time instead of the server’s time.
SetEnv TZ America/New_York
A list of timezones could be found at: http://us2.php.net/manual/en/timezones.php