$mybb->settings['dateformat'] NOT working properly.
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: $mybb->settings['dateformat'] NOT working properly.
There are several ways to do that, either using mktime (you need to explode the returndate first to get month, day and year), strtotime (since it is already in day-month-year and using dash (-) as a separator, you can use it directly) or by using DateTime::createFromFormat / date_create_from_format (need at least PHP 5.3, you can also use it directly).

02-23-2018 01:04 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: $mybb->settings['dateformat'] NOT working properly. - RateU - 02-23-2018 01:04 AM

 Standard Tools
Forum Jump: