> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changing the timezone in Windows for ASP.NET and for PHP

## Timezone configuration for ASP.NET:

1. Login to the WebsitePanel.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/1_SolidCP_Nodejs.png)

2. In your Hosting Space, please choose File Manager.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/2_SolidCP_Nodejs.png)

3. Navigate to your website's wwwroot folder.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/3_SolidCP_Nodejs.png)

4. Edit the web.config and add the following line (for Indian Date Time):

\`

\`

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/4_ip_web-config.png)

5. After the changes are done, please click Save.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/5_ip_web-config.png)

PS: Please note the timezone is set at the server level, so there isn't a way to override that per site. The way to handle that would be from your code. Set a timezone in your web.config and calculate the timezone on the fly based on that.

### Timezone configuration for PHP:

You will need to open a ticket to our technical department requesting a custom PHP.INI for your website. After that please follow the steps below:

1. Login to the WebsitePanel.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/1_SolidCP_Nodejs.png)

2. In your Hosting Space, please choose File Manager.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/2_SolidCP_Nodejs.png)

3. Navigate to your website's wwwroot folder.

![](https://tutorials.my-virtual-panel.com/solidcp_timezone/3_SolidCP_Nodejs.png)

4. Edit the php.ini file located in the PHP folder and add the following line at the top of the file:

`date.timezone = "US/Central"`

PS: Replace "US/Central" with the timezone from here that corresponds to the time you want to display.
