2011-12-14, 03:11 AM
Currently a date for a MyBB event is 13238800 or something. How can I format it to a human readable date?
I plan to use the date in a template through a plugin that reads the event from the database.
Problem solved. I used the PHP date function to convert it from the UNIX timestamp to a human readable form.
My main issue however was to display it in a template, but I fixed that issue just now.
I plan to use the date in a template through a plugin that reads the event from the database.
Problem solved. I used the PHP date function to convert it from the UNIX timestamp to a human readable form.
My main issue however was to display it in a template, but I fixed that issue just now.