Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change default timezone?

Discussion in 'General Discussion' started by Anuj Sharma, Jun 10, 2019.

  1. Anuj Sharma

    Anuj Sharma Registered

    Joined:
    Jan 23, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    Using cPnael how can i change my default time?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,459
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Anuj Sharma

    cPanel uses the time set on your local machine within cPanel. Server time may differ from this and that cannot be modified through cPanel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. RadWebHosting

    RadWebHosting Active Member

    Joined:
    May 6, 2016
    Messages:
    42
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Dallas, Texas
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If using apache, the timezone per directory can be set using .htaccess

    For instance, you could add the following to the top of .htaccess:

    php_value date.timezone 'America/Chicago'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice