Log in

View Full Version : Date??


frandy
08-17-2006, 04:05 PM
whats the code im using to get the dateline parased so it shows an actual date rather than the string of numbers?

Antivirus
08-17-2006, 05:27 PM
use the following:

$mydate = vbdate($vbulletin->options['dateformat'], $date['dateline']);


where $mydate is the variable you are outputting to your template, and $date['dateline'] is the raw date string of numbers you're getting from your query.

frandy
08-17-2006, 05:54 PM
thanks, ill see if i can get it goin from ther