PDA

View Full Version : Date/Time


dontpanic
01-22-2004, 06:07 PM
Can anyone help me to extract the date and time out of a table, the threads table to be exact, so that I can put it up human readable format? It's going to go on here: http://www.mcseworld.com/forums/lastthreads.php

Thanks in advance! :devious:

Xenon
01-23-2004, 01:48 PM
you have to use vbdate()

dontpanic
01-23-2004, 04:04 PM
you have to use vbdate()Xenon, could you elaborate a bit more on that...not sure how the syntax should be.

Thanks!

NTLDR
01-23-2004, 08:12 PM
$date = vbdate($vboptions['dateformat'], $dateline);
$time = vbdate($vboptions['timeformat'], $dateline);


Where $dateline is the variable containing the dateline.