Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system time warnings 1

Status
Not open for further replies.

aa__live

Programmer
Mar 29, 2017
28
0
0
GB
how do I fix these warnings?
Warning: strtotime(): 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. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in import_badbidder.php on line 288
 
I would recommend following the instructions in the warning, and explicitly set the time and date to what ever suits your viewing audience or your particular time zone.

PHP:
<?php date_default_timezone_set( "Country/City" ); ?>

See

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind this jesus character, stars had to die for me to live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top