先轉String var strDate = string.Format("{0:yyyy\\/MM\\/dd HH:mm}", date); //3.由String轉datetime DateTime time = DateTime.Parse(strDate);
確定! 回上一頁