* JS. cm.getCurrentDate now have format parameter.