Log in

View Full Version : using vbdate


Ryangel
08-24-2002, 08:23 AM
In using vbdate on my own php file. The time does not follow.

ie

$entrydate = vbdate($dateformat, $timestamp);
$entrytime = vbdate($timeformat, $timestamp);


gives
10-08-2002 09:15 AM in a vbpage

but gives
09-08-2002 06:15 PM on my page

I seem to be missing something, and i think its got to do with $bbuserinfo['timezoneoffset'] but I'm not sure what.

*ponders*

g-force2k2
08-24-2002, 08:57 AM
yeah Ryangel i believe that you're correct depending on the server time and have to use the timezone off set feature in the user options... i think thats what causes the changes but i could be wrong... just play with the timezone off set feature...

g-force2k2

Ryangel
08-24-2002, 09:10 AM
mm I'll give it a go. thanks