Difference between revisions of "Time Zone problems on international systems"

From IVS Wiki
Jump to: navigation, search
(Created page with "Time zones may need to be set manually in the following two files: sudo nano /etc/php/<php_ver>/cli/php.ini '''Modify:''' [Date] ; Defines the default timezone used by the d...")
 
Line 4: Line 4:
  
 
'''Modify:'''
 
'''Modify:'''
 +
 
[Date]
 
[Date]
 
; Defines the default timezone used by the date functions
 
; Defines the default timezone used by the date functions
Line 12: Line 13:
  
 
'''Modify:'''
 
'''Modify:'''
 +
 
[Date]
 
[Date]
 
; Defines the default timezone used by the date functions
 
; Defines the default timezone used by the date functions
 
; http://php.net/date.timezone
 
; http://php.net/date.timezone
 
date.timezone = Asia/Kolkata
 
date.timezone = Asia/Kolkata

Revision as of 08:38, 7 February 2018

Time zones may need to be set manually in the following two files:

sudo nano /etc/php/<php_ver>/cli/php.ini

Modify:

[Date]

Defines the default timezone used by the date functions
http://php.net/date.timezone

date.timezone = Asia/Kolkata

sudo nano /etc/php/<php_ver>/apache2/php.ini

Modify:

[Date]

Defines the default timezone used by the date functions
http://php.net/date.timezone

date.timezone = Asia/Kolkata