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, Jun 24, 2022 (02:09:25 PM)

On This Page

FEEDBACK