The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
convert JOIN DATE in the vB mysql database to a real date
Is there an easy way to convert JOIN DATE in the vB mysql database to a real date?
Can anyone explain what that code really means? I have a site that is at it's 1st year and I wanted to share the stats for the year with my members but the code has me puzzled! |
#2
|
||||
|
||||
vB dateline = time(), time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
If you want to convert it real date (i.e, mm-dd-yyyy), try Code:
UPDATE user SET joindate = date('m-d-Y', joindate) |
#3
|
||||
|
||||
Whatever you do, don't change it. Learn how to use time properly (www.php.net/time)
|
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|