How to Change the Time Zone of SQL Server from Docker Compose File


Question: How do you change the time from UTC to #Local Time of the SQL Server Database Engine? I have struggled to find answers but no luck.


Login to See the Rest of the Answer

Answer: You can only change the Time Zone of the #SQL #Server #Database Engine from the Operating System, if you are using #Docker and #Docker-Compose files you can pass in the #Environment Variable called 
TZ see below:

TZ=America/Detroit

The above line of code should help you resolve the #Time Zone issues in the SQL Server Database. Leave us a comment if this helped you.






For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]