- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
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:
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;
نام موضوع : Retrieving the Current Date in a Controller