Mohamed Omar Mohamed Omar - 1 month ago 17
MySQL Question

How to adjust server's time zone in Apache using wordpress?

I have developed my website in wordpress and it's

uses the default server time zone, but i want it to use my timezone which is

How to adjust/change the server to use my region's time zone.I'm using Wordpress and i have no access to the php.ini


I think you are looking for: date_default_timezone_set ( string $timezone_identifier )

You can also set this in your php.ini config.

; Defines the default timezone used by the date functions
date.timezone = Europe/Berlin