So, I'm working with Laravel. My project is set to the TIMEZONE: UTC.
For that you will have to save the user's time zone in the database somewhere, so you can know it ahead of time. Unless you also bundle some js, that can change the dates later when js is run in the browser.
There other advanced tactics sites use to detect user's location, like the 'Accept-Language' header or analysing the ipaddress, you can research those if you like.