note 98137 deleted from function.localtime by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: jesse dot j dot morrow at gmail dot com 

----

Better way to get difference from UTC.

/**
 * Returns the seconds (+/-) current TZ is from UTC.
 */
protected static function tzdelta()
{
	return (int)date("Z", time());
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.