2014-07-11, 08:33 PM
2014-07-11, 08:56 PM
Use time()
Then you have to assign a new var to set this value, maybe can use some function by default like function of date.
Then you have to assign a new var to set this value, maybe can use some function by default like function of date.
2014-07-12, 11:59 AM
Thanks buddy found the solution:
// Set the current date and time now
$datenow = my_date($mybb->settings['dateformat'], TIME_NOW, '', false);
$timenow = my_date($mybb->settings['timeformat'], TIME_NOW);
$lang->welcome_current_time = $lang->sprintf($lang->welcome_current_time, $datenow.', '.$timenow);