摘要: 若系统时间格式为2012/03/05 08:12:12,那么若将("2012-03-05 08:12:12")格式化为时间变量时会报错,在转化之前先将系统时间格式改变再转换就不会报错了,如下ShortDateFormat="yyyy-MM-dd"; LongTimeFormat="hh:mm:ss"; DateSeparator=‘-’;TDateTime myDt=StrToDateTime("2012-03-05 08:12:12");另:取文件时间时:FileTimeToSystemTime是取得系统时间,F 阅读全文
posted @ 2013-08-27 15:06 北冥子 阅读(4261) 评论(0) 推荐(0) 编辑