RunAppAtTime time format

Discussion in 'Questions (Windows Mobile)' started by jerryjukem, Feb 20, 2008.

  1. jerryjukem

    jerryjukem Member Licensed User

    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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It is time ticks (starting from January 01, 0001).
    See the time and date tutorial: http://www.basic4ppc.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.
     
Loading...