Hi,
Windows Version for both the servers is Windows Server R2.
Yes, I am getting the correct next run time value when you use the system Windows Task Scheduler tool, but when I am using below code it to get the Next Run time it is converting as per EST (US) timezone.
TaskScheduler.Task task;
//some code here to initilize task object.
task.NextRunTime.ToString();
Result:
Last Run Time
3/13/14 4:30 PM
Next Run Time
3/13/14 11:40 AM
Next Run Time is showing as per (EST) it should be 3/13/14 4:40 PM. In Windows Task Schdule on Europe server it is showing Next Run Time = 3/13/14 4:40 PM.
Please help!
Windows Version for both the servers is Windows Server R2.
Yes, I am getting the correct next run time value when you use the system Windows Task Scheduler tool, but when I am using below code it to get the Next Run time it is converting as per EST (US) timezone.
TaskScheduler.Task task;
//some code here to initilize task object.
task.NextRunTime.ToString();
Result:
Last Run Time
3/13/14 4:30 PM
Next Run Time
3/13/14 11:40 AM
Next Run Time is showing as per (EST) it should be 3/13/14 4:40 PM. In Windows Task Schdule on Europe server it is showing Next Run Time = 3/13/14 4:40 PM.
Please help!