#include <DateTimeConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 417, 155, 192, 124)
$Date1 = GUICtrlCreateDate("2012/08/28 13:48:37", 8, 12, 161, 29, BitOR($DTS_UPDOWN,$DTS_TIMEFORMAT,$WS_BORDER), $WS_EX_STATICEDGE)
GUICtrlSetFont(-1, 12, 400, 0, "@Arial Unicode MS")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Date1
EndSwitch
WEnd