How do I change my time zone in my docker installation on Linux?

This command allowed me to edit the php.ini file:

docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") nano /etc/php8/php.ini

I uncommented the “date.timezone =” setting and entered my timezone (Europe/Madrid).

OpenEMR now shows the time of my encounters correctly.

2 Likes