/* without a variable */ vbdate($vboptions[timeformat],$time); /* with a variable */ $thetime = vbdate($vboptions[timeformat],$time);