![]() |
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! |
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) |
Whatever you do, don't change it. Learn how to use time properly (www.php.net/time)
|
Quote:
|
Quote:
|
All times are GMT. The time now is 03:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|