1
我有以下代碼VB.net/asp.net:如何更改system.timespan格式的VB.net?
Dim DT As Date = date value
Dim DIF As System.TimeSpan = DT.Subtract(Date.Now)
TextBox1.Text = DIF.ToString
但輸出格式爲dd /月/年爲hh:mm:MS:納秒,像10/07/2012 4時53分: 11.2812500。但我需要的輸出是像10/07/2012 04:53。
請幫忙嗎?