Log in

View Full Version : Formatting dateline values on non-VB page


PinFX
12-23-2004, 06:48 PM
I'm publishing threads from the vB3 database directly to the front-page of my site, and I'd like to have it display the time of posting. I am aware that I need to use the vbdate() function to format it, but how do I access this function from a non-vb page?

Thanks in advance,
- Pin, beginner VB modder

coldpride
01-30-2005, 10:38 PM
can you please share the code to display threads on a non vb page.

sabret00the
02-01-2005, 10:31 AM
I'm publishing threads from the vB3 database directly to the front-page of my site, and I'd like to have it display the time of posting. I am aware that I need to use the vbdate() function to format it, but how do I access this function from a non-vb page?

Thanks in advance,
- Pin, beginner VB modder
if you've included the global

$query['dateline'] = vbdate($vboptions['dateformat'], $query['dateline']);