Skip to content

Instantly share code, notes, and snippets.

@dstogov
Created April 26, 2021 15:01
Show Gist options
  • Save dstogov/8adbda8a72b20d37e40c6f968ead3b83 to your computer and use it in GitHub Desktop.
Save dstogov/8adbda8a72b20d37e40c6f968ead3b83 to your computer and use it in GitHub Desktop.
sapi/cli/php -r 'date_default_timezone_set("GMT"); echo date("Y-m-d H:i:s", time())."\n"; date_default_timezone_set("Etc/GMT-3"); echo date("Y-m-d H:i:s", time())."\n";'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment