[RSS Feed/News] Retrieving the Current Date in a Controller

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello! Is there a way in XF2 to retrieve today's date in a controller?

I used this code in my XF1 controller, but I haven't been able to find an equivalent in XF2 yet.
PHP:

$today = XenForo_Application::$time;

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom