// } catch (ParseException e) {
// return "<span class=\"error\">Error: invalid time</span>";
// }
try {
date = new StringToTime(dateTimeParameter);
} catch (StringToTimeException e) {
return "<span class=\"error\">Error: invalid time</span>";
}
} else {
date = model.getCurrentTimeStamp();