Jump to content
Killersites Forums

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

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...