摘要: TFormatSettings * fmt = new TFormatSettings; fmt->ShortDateFormat = L"yy-mm-dd"; fmt->DateSeparator = L'-'; fmt->LongTimeFormat = L"hh:nn:ss"; fmt->TimeSeparator = L':'; UnicodeString str = L"13-09-12 09:23:43"; TDateTime dt = StrToDateTime(s 阅读全文
posted @ 2013-09-05 01:50 瓜蛋 阅读(1536) 评论(0) 推荐(0) 编辑