// For dates echo vbdate($vbulletin->options['dateformat'], $myDateline); // For times echo vbdate($vbulletin->options['timeformat'], $myDateline);