C++Builder 程序员博客
4 Dec
判断一个字串是否能转成日期类型的数据,不用IsDateTime类的try()…catch()函数,怎么写呢?
try { TDateTime dt = "2008-ABC"; } catch(…) { // 不是日期类型 // return; }
// 继续处理
// 见你的另1贴