if (dateformat != null) {
Format formatter = new SimpleDateFormat(dateformat.toString());
return formatter.format(new java.util.Date());
} else {
Format formatter = new SimpleDateFormat();
return formatter.format(new java.util.Date());
}
}
//return the current system time as a string , don't care scope
if (SynapseConstants.SYSTEM_TIME.equals(key)) {