Skip to content

Instantly share code, notes, and snippets.

@ilyasfoo
Created May 27, 2022 03:19
Show Gist options
  • Select an option

  • Save ilyasfoo/dbac0430d2741071dc6a00772f651a27 to your computer and use it in GitHub Desktop.

Select an option

Save ilyasfoo/dbac0430d2741071dc6a00772f651a27 to your computer and use it in GitHub Desktop.
Set timezone location
<?php
/**
* Plugin Name: Set timezone location
* Plugin URI: -
* Description: Sets PHP default timezone location to 'Europe/Berlin'
* Version: 1.0.0
* Author: -
* Author URI: -
*
*/
date_default_timezone_set( 'Europe/Berlin' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment