DateTimeZone::getOffset

PHP 5 >= 5.2.0, PHP 7, PHP 8
DateTimeZone::getOffset - Returns the timezone offset from GMT
Manual
Code Examples

Example #1 DateTimeZone::getOffset examples

PHP Version:


Function DateTimeZone::getOffset:

Date and Time Functions

Most used PHP functions