2
Timezones
$xoopsConfig['default_TZ'] - stores user default timezone
$xoopsConfig['server_TZ'] - stores system timezone
$xoopsUser->getVar("timezone_offset") - stores current user's timezone
Date Formats Constants (See /language//global.php)
_DATESTRING - Normal date format
_MEDIUMDATESTRING - Shorter date format
_SHORTDATESTRING - Shortest date format
Helpful Date functions (/includes/functions.php)
xoops_getUserTimestamp($time, $timeoffset="")
Alters the $time by the specified $timeoffset
formatTimestamp($time, $format="l", $timeoffset="")
Function to display formatted times in user timezone
userTimeToServerTime($timestamp, $userTZ=null)
Function to calculate server timestamp from user entered time (timestamp)