View Full Version : How does vbulletin store dates?
JohnL
Sun 8th Apr '01, 12:31am
I can see that the datatype is an integer but how can I convert the integer to a date in a SQL query?
Mike Sullivan
Sun 8th Apr '01, 1:13am
It's a unix timestamp -- MySQL supports switching to and from it. And it's PHP's native format for date().
JohnL
Sun 8th Apr '01, 2:19pm
Thanks, Ed. So is there a mysql function to display the timestamp as a formated date string?
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.