本帖最后由 sta 于 2011-1-13 22:09 编辑
如果做到時間可以用加法
$date + $timeA = 2011/1/1 00:00:01
$date + $timeA + $timeB = 2011/1/1 12:23:45
#include <GUIConstantsEx.au3>
#include <DateTimeConstants.au3>
GUICreate("My GUI get date", 200, 200, 800, 200)
$date = GUICtrlCreateDate("2011/01/01", 10, 10, 185, 20)
$timeA = GUICtrlCreateDate("00:00:01", 30, 40, 100, 20, $DTS_TIMEFORMAT)
$timeB = GUICtrlCreateDate("12:23:44", 30, 80, 100, 20, $DTS_TIMEFORMAT)
GUISetState()
Do
$msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE
|