Community

Closed How do I change the server time zone on CyberPanel dashboard

RP
Ronny Paredes #1

and tried to modify the php changing the time zone, but when I do an insert in the database, I get like 7 hours of difference … the service is a VPS
greetings

jo
josephgodwinke #4

Welcome @sistema_ronny Happy you are here

Its best practice to search the community first before raising a topic

e.g.

Run in ssh terminal

timedatectl set-timezone Asia/Kathmandu

To get all timezones first use timedatectl list-timezones | grep "{continent}/" | less e.g.

timedatectl list-timezones | grep "Africa/" | less
RP
Ronny Paredes #5

Is there any way to do it from the cyberpanel? that I have never connected with ssh to the vps

jo
josephgodwinke #6

There is no dashboard option for this. Use ssh or vnc. This should be accessible to you if not ask your service provider to set this up for you.

RP
Ronny Paredes #7

Now I try to increase, verify my credentials, or I will consult my provider

RP
Ronny Paredes #9

image

I was able to enter ssh

I already made the change and it keeps the utc time, here the time is 15:48 and at the time of the insert it takes me 21:48

This topic is closed to new replies.