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: Mon, Nov 21, 2022 (02:00:00 PM)

On This Page

FEEDBACK