Tagtimezone_offset_get in php

PHP timezone_offset_get() Function


In this article, you will learn how to get the timezone offset. The timezone_offset_get()the method in PHP returns the offset of the timezone from the GMT. What is the syntax of the timezone_offset_get() function in PHP? timezone_offset_get(object, datetime) ParameterDescriptionobjectThe DateTime object is returned by the timezone_open method. – RequireddatetimeDate/time to allow the...

Tutor Network

Learn PHP from A to Z