1

Topic: inserting date/time in database

Not a pun-related question, but you guys seem knowledgable, so I'll ask anyway smile

When I converted my user database to punbb, the registration info was nullified for all users, leaving them all as "registered 1969".
Now I want to manually adjust this info for all the users, but I can't figure out the date-system in my database (mysql).

A new member registered yesterday, on March 13, 2005. The data in the database field "registered" looks like this: 1110741859
If I copy that to another user, the also appear as registered that date.

So I guess there is some kind of logic to why 1110741859 means March 13, 2005, right?
Can someone let me in on the secret? I'm not a codebreaker, and google hasn't been very helpful either hmm

Re: inserting date/time in database

Unixtime
http://www.onlineconversion.com/unix_time.htm

3 (edited by Endre 2005-03-16 00:31)

Re: inserting date/time in database

thanks, you're a lifesaver! (or at least you saved me from 2000 disgruntled forum users, lol)

4

Re: inserting date/time in database

Good stuff.  I need to save this link for quick reference.  Thanks, Smartys.

Re: inserting date/time in database

Try this one too -> https://addons.mozilla.org/extensions/m … on=firefox