如果系统时间格式设置为:10.10不是传统的10:10,不是以冒号“:”为分隔符时,如果进行strToTime时会报错!
: | Displays the time separator character given by the TimeSeparator global variable. |
这是delphi帮助的解释,如果想要以“:”分隔符,需要在全局声明 TimeSeparator := ':';
如果系统时间格式设置为:10.10不是传统的10:10,不是以冒号“:”为分隔符时,如果进行strToTime时会报错!
: | Displays the time separator character given by the TimeSeparator global variable. |
这是delphi帮助的解释,如果想要以“:”分隔符,需要在全局声明 TimeSeparator := ':';