Timezone question

Aug 14, 2009 at 2:46 PM


I'm creating a task that runs at a specific day of the week, at a specific time of the day.

When creating this task on computer "A" (a server), from TaskScheduler code running on computer "B" (my laptop), if the two computers are in different time zones, can anyone tell me whether the task will be scheduled using Computer "A"'s local date/time settings, or Computer "B"'s local date/time settings?

Basically, if my pc is in the Eastern time zone, and I schedule a task from my pc to run at 6 am on a computer in Central Standard time, will the job be scheduled at 6AM EST, or 6AM CST?

Thanks for your help!


Aug 16, 2009 at 5:38 AM

You found a bug in the V2 handler for triggers! In looking at the help for ITrigger.StartBoundary I found that the string format it is looking for should specify the time zone. I did not implement it. Even if you specify a time zone in your DateTime value, it won't get interpretted right back into the COM object. I have corrected it in the code for the next release. For now, it will always use the local time so you will have to do your own time zone conversions until I update the binary. Thanks for the find!

Aug 19, 2009 at 4:39 PM

Great! Thanks for the info. Glad I could help, looking forward to the next build!