geoip_timezone

Look up the full time zone for the given IP address. e.g. America/Los_Angeles, Europe/Paris.

Syntax

native geoip_timezone(const ip[], result[], len)

Usage

ip The IP address to look up.
result The result of the geoip look up.
len The maximum length of the result buffer.

Return

The — result length on successful lookup, 0 otherwise.

Notes

This native requires GeoIP City database, which can be retrieved from:

Defined in geoip.inc at line 175 . This documentation was automatically generated from source.