0
我需要在經典的asp上對一些用戶提供的字符串進行一些驗證,以確保它們是有效的日期。我怎麼才能解析字符串到一個日期,同時檢查類型不匹配的例外...經典asp中DateTime.TryParse()的最接近的等價物是什麼?
到目前爲止,它看起來比我想象的更難!
我需要在經典的asp上對一些用戶提供的字符串進行一些驗證,以確保它們是有效的日期。我怎麼才能解析字符串到一個日期,同時檢查類型不匹配的例外...經典asp中DateTime.TryParse()的最接近的等價物是什麼?
到目前爲止,它看起來比我想象的更難!
就像一個魅力。畢竟我覺得這很簡單! – Slider345 2012-08-10 20:33:26