News:

Wondering if this will always be free?  See why free is better.

Main Menu

Manipulate post dates programmatically

Started by sloth456, December 16, 2010, 05:46:48 PM

Previous topic - Next topic

sloth456

Hi,

I've been using createPost() to make posts on my forum, however now I wish to manipulate the post dates attached to those posts.  createPost() does not seem to have a way to do this, is there any other function I can use?

Or can I simply run SQL UPDATE queries on the posterTime column in the smf_messages table without causing errors or problems in the long run?

IceXaos

SQL UPDATE would work fine.  Not sure of a built-in function to do it for ya.

sloth456

Thanks for your help, I shall give it a go.

Advertisement: