private String colorOff = "O"; //Off Color public string convertTime(string aTime) { try { var time = Time.convertFromString(aTime); return(getSeconds(time.getSeconds()) + Environment.NewLine + getHours(time.getHours()) + Environment.NewLine + getMinutes(time.getMinutes())); } catch (InvalidFormatException inEx) { return(inEx.Message); } }