# How to Audit Database Time Zones After a Website Move

https://ferkesh.net/zh/knowledgebase/article/sql-timezone-migration-audit

![Workflow: Record all layers; Select representative records; Check data semantics; Verify workflows.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-13.svg#sql-timezone-migration-audit)

Timestamp problems can occur even when every row migrated. Compare how the application writes, interprets and displays times before changing a global database time zone.

## Procedure

1. **Record all layers.** Read the application timezone and database server and session settings through approved controls. Ask whether background workers and CLI tools use the same configuration.
2. **Select representative records.** Use staging fixtures that cover ordinary times and a daylight-saving transition relevant to the site. Compare stored values, types and the displayed local times.
3. **Check data semantics.** In MySQL, TIMESTAMP conversion depends on the session time zone. DATETIME stores the supplied calendar value. Document how the application treats each field before converting anything.
4. **Verify workflows.** Compare order history, schedules and data exports after migration. Preserve original values and approve any correction through a reviewed migration and rollback plan.

## Related guides

- [How to Verify Text and Collation After a Database Restore](https://ferkesh.net/knowledgebase/article/verify-db-charset-after-restore)
- [Why Database and File Backups May Have Different Recovery Points](https://ferkesh.net/knowledgebase/article/database-and-file-recovery-points)
- [Developer Resources articles](https://ferkesh.net/knowledgebase/category/developer-resources)

## Official references

- [MySQL server time zone support](https://dev.mysql.com/doc/refman/8.4/en/time-zone-support.html)

Ferkesh Hosting. Last reviewed November 26, 2026.
