MyBB Community Forums

Full Version: backdate postings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everybody

we need to move manually a lot of old postings to our new MyBB. These postings were originally written in the past years. There is no way to get a db dump so we have to do it manually. My question: is there a possibility to backdate these posts to their original date which lays long before the time I installed the new forum? I am sorry, but I am not able to program new tools.

Regards
Ruby
Using PHP's mktime function, you can convert a date to a unix timestamp, which is what MyBB uses to display time.

For example, you can turn 01-02-2009, 13:56 into the number of seconds since the unix epoch, and then take that number and put it in the dateline field in the database.

There's a free converter online for this: http://www.onlineconversion.com/unix_time.htm
(2009-02-01, 01:59 PM)Tom.M Wrote: [ -> ]then take that number and put it in the dateline field in the database.
Thanks a lot.Tom. But where do I find the dateline field in the database ?
The dateline column in the posts table...??