View Single Post
Old 03-03-2003, 03:34 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
vbulletin time is weird

the date field in the vbulletin db is int(10)

i assume this is a unixtimestamp

"1046729556" is an example

i try to convert this to a time, and it doesn't work:
PHP Code:
<?
$this
->dateline=date("m-d-Y",$this->dateline);
?>
but it just prints out 12-31-1969

any ideas on this?
sde is offline   Reply With Quote