Definition :
In php date_offset_get() Function is inbuilt function.The date_offset_get() Function is used to Return the timezone offset for Oslo (in Norway, Europe) in seconds from UTC, winter and summer: This function returns true when the timezone offset in seconds from UTC (Universal Time Coordinated) or FALSE on failure.
date_offset_get(object)
Parameter | Description |
---|---|
object | Required. Specifies a DateTime object returned by date_create() |
Given below example return the timezone offset for Oslo (in Norway, Europe) in seconds from UTC, winter and summer:
Output : 3600 seconds.
3600 seconds.