Moved getFormattedStringFromDate to Util.