J jerryjukem Member Licensed User Longtime User Feb 20, 2008 #1 I am trying to use the RunAppAtTime control. I do not understand what the format should be for the time. The help states that it is Int64. What exactly is that? days-months-etc in what order? Is it tics from the beginning of the year or what? Thanks in advance.
I am trying to use the RunAppAtTime control. I do not understand what the format should be for the time. The help states that it is Int64. What exactly is that? days-months-etc in what order? Is it tics from the beginning of the year or what? Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Feb 20, 2008 #2 It is time ticks (starting from January 01, 0001). See the time and date tutorial: http://www.b4x.com/forum/showthread.php?t=894 You can use: Code: hw.RunAppAtTime("someapp.exe",TimeAdd(now,1,0,0)) 'will run next hour. hw.RunAppAtTime("someapp.exe",TimeParse("17:30")) 'will run today at 17:30.
It is time ticks (starting from January 01, 0001). See the time and date tutorial: http://www.b4x.com/forum/showthread.php?t=894 You can use: Code: hw.RunAppAtTime("someapp.exe",TimeAdd(now,1,0,0)) 'will run next hour. hw.RunAppAtTime("someapp.exe",TimeParse("17:30")) 'will run today at 17:30.