Unclassified NewsBoard Code Reference

UnbConvertTimezone function

Convert a timestamp from local time to user's timezone

function UnbConvertTimezone ($time, $back = false);

Parameters:

time
(int) timestamp
back  –  optional, default: false
(bool) convert from user's timezone to local (otherwise reverse)

Implementation file: unb_lib/common.lib.php, line 2401

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.