Get a formatted string for a given date object
var df = new dojox.date.php.DateFormat(format); return df.format(date);