Jump to content
Killersites Community
Sign in to follow this  
KeithHunt

PHP date.timezone

Recommended Posts

I'm on the PHP course chptr 4 lesson 1

We are checking out the php.ini doc for the first time.  My doc has the date.timezone commented out and with no time zone set:


[Date]
; Defines the default timezone used by the date functions
;date.timezone =

 

Is this a problem or should I ignore?  Should I uncomment it out, and set to UTC?

On StackOverflow, they recommend using the date_default_timezone_get() function to see the default timezone, I added that to this lessons document, saved and refreshed, and got nothing.

 

 

-Keith

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×