level 1
分别在两个edit里输入两个时间,然后设置这个时间段不能大于一天。。。。请问如何实现。。。
2016年06月18日 09点06分
1
level 12
if ABS(StrToDateTime(edit1.Text)-StrToDateTime(Edit2.Text))>1 then
ShowMessage('两个时间段不能超过天');
2016年06月18日 10点06分
3
QAQ 运行不了呀
2016年06月18日 11点06分
level 1
首先不知道你Edit时间格式是什么,再者用TDateTimePicker控件不就行了
2016年06月22日 02点06分
5