»

LJ::get_timezone

LJ::get_timezone — Gets the timezone offset for the user.

Use

LJ::get_timezone(u, offsetref, fakedref);

Arguments

  • u. user object.

  • offsetref. reference to scalar to hold timezone offset;

  • fakedref. reference to scalar to hold whether this timezone was faked. 0 if it is the timezone specified by the user (not supported yet).

Source:

cgi-bin/ljlib.pl

Returns:

nonzero if successful.