C++Builder如何将当前时间与字符串相互转换
时间:2014-07-22 23:04:05
收藏:0
阅读:771
//将当前时间变为字符串 String str = Now().FormatString("YYYY/MM/DD/HH"); //将字符串转换为时间就直接调用strtoDateTime() TDateTime d = StrToDateTime(str);
原文:http://www.cnblogs.com/flashbird/p/3517841.html
评论(0)