Skip to content

PHP Tricks

Few codes to visualise your imagination

  • PHP
  • WordPress
  • Magento
  • JQuery
  • CSS
  • Contact

Tag: UTC to Local

How to change UTC time to your local time using PHP

How to change UTC time to your local time using PHP is big question in PHP programming language. Today, PHP Tricks provide you a simple and quick function to covert UTC/GMT time to your local time using DateTimeZone PHP class.

Published March 23, 2017
Categorized as PHP Tagged GMT to Local, PHP Date, UTC to Local

About Author

Ashutosh Pratap

Recent Tricks

  • Save and show a custom field as Order item meta data – Woocommerce
  • Add woocommerce product title to all product images alt tags
  • Fix: Fatal error: Allowed memory size – Increase PHP Memory
  • How to change UTC time to your local time using PHP
  • How to Use Shortcodes in WordPress Sidebar Widgets

Categories

  • CSS
  • JQuery
  • Magento
  • PHP
  • WordPress

Calendar

April 2021
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
Jan    
PHP Tricks
Proudly powered by WordPress.