• Resolved wp-newbee

    (@wp-newbee)


    Hello,
    I have 5 wordpress sites, running on Webmin server. Running WP 4.2.2
    I noticed that time setting in General sections time is ok, but date is one day behind.
    I deactivated all the plugins and used default wp themes, but still date is one day behind:
    Today is March 17th, but my site date is March 16th
    The setting is:
    UTC time is 2016-03-16 23:10:01 Local time is 2016-03-16 16:10:01

    I set the time in php.ini:

    [Date]
    ; Defines the default timezone used by the date functions
    ; https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
    ;date.timezone = “America/Los_Angeles”
    and also I added date_default_timezone_set(‘America/Los_Angeles’); to the function.php
    But I don’t see any difference. Would you please give me some advice?
    Thank you in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Date is one day off in all my sites’ is closed to new replies.