yousefsamy, What I suggested was this:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$iCurrentSec = -1
$Form1 = GUICreate("Ramadan", 200, 200, -1, -1)
$Input1 = GUICtrlCreateInput("", 64, 32, 121, 28,$ES_READONLY)
GUISetState(@SW_SHOW)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
If @SEC <> $iCurrentSec Then ; Wait for the change of second
$iCurrentSec = @SEC
GUICtrlSetData($Input1, @HOUR & ":" & @MIN & ":" & @Sec)
EndIf
WEnd
M23