string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd HH:mm");//24小時 string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd hh:mm");//12小時