String getFormatedTimeHHMMT(String timeToFormat) { return DateFormat("hh:mm a").format(DateFormat("yyyy-MM-dd HH:mm:ss").parse(timeToFormat)); }