(AGK version: 108.13)
Submitted: 2013-06-20 14:29:27
Setvirtualresolution(640,480)
SetPrintSize(25)
ResetTimer()

date$=GetCurrentDate()
time$=GetCurrentTime()

unix=GetUnixFromDate(Val(Left(date$,4)),Val(Mid(date$,6,2)),Val(Right(date$,2)),Val(Left(time$,2)),Val(Mid(time$,4,2)),Val(Right(time$,2)))

//Add 8 seconds to the Unix value

secs=8
unix=unix+secs

secs=GetSecondsFromUnix(unix)

Repeat
    Printc ("Time now is ")
    Print (time$)
    Printc ("In 8 seconds it will be ")
    Print (secs)

    Sync()
Until Timer()>15
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.