Update index.php

Added automatic timezone control