timezone() Function

Returns the default offset in minutes from GMT, which is generally the process initiator's time zone.

Syntax

timezone()

Returns

Integer

Examples

timezone() returns 0 where the user's time zone is GMT.

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK