Minixed
Minixed copied to clipboard
Inaccurate time on last modified
trafficstars
Why is the last modified time in my index 7 hours longer than the current time? What's the solution? The current time is 18.50 but the last modified time was 11.50. even though the file was just edited.
Attached picture
It may be an issue with your timezone settings. What's the timezone in which your "current time is 18.50"? Make sure the same timezone is set as default on the system where Minixed runs; or (better?) you can try setting it in the PHP script, for example adding this as the first line of code in index.php:
date_default_timezone_set('Europe/Rome'); // One from https://www.php.net/manual/en/timezones.php