فتحات العرب Joomla! • Index page: General Questions/New to Joomla! 3.x • Re: JHTML date - 1 day and + 1 day, possible?

Friday, April 10, 2015

General Questions/New to Joomla! 3.x • Re: JHTML date - 1 day and + 1 day, possible?

I answer myself in case anyone else wonders:



$user = JFactory::getUser();

$useUserTimeZone = true;

$Y = JHtml::date($input = 'tomorrow', 'y', true);

$D = JHtml::date($input = 'tomorrow', 'z', true);

Statistics: Posted by neppers — Fri Apr 10, 2015 7:10 am








via Joomla! http://ift.tt/1OhydDj

No comments:

Post a Comment