• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
date

#3
[eluser]danmontgomery[/eluser]
timezone.ini?

set date.timezone in php.ini:

Code:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Paris

Then restart apache. See http://php.net/manual/en/timezones.php for a list of valid timezones

Or, at the top of index.php, include:

Code:
date_default_timezone_set('Europe/Paris');


Messages In This Thread
date - by El Forum - 08-03-2011, 05:15 AM
date - by El Forum - 08-03-2011, 07:09 AM
date - by El Forum - 08-03-2011, 07:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.