Hi All,How do i get Date and Time of the job initiated ?Thanks for advanceThanks!
Is there any particular reason for you to ask [thread=21138]the same question[/thread] a month later?
he may have gotten hit on the head and lost his short term memory. :-)
HiMy requirements is that i need to get all jobid's and date and time of the job initiated. But iam able to get it. the thing is iam getting same date& time for all job's. Please see the code in below. foreach(@jobids){ $workflow = new TeamSite::WFworkflow($_); $tasks = $workflow->GetTasks(); foreach $task (@$tasks) { $taskActivation = $task->GetActivationTime(); $stDateTime = localtime($taskActivation); } print "Jobid". $_ ."Date& Time". $stDateTime}Iam appreciating for your helpThanks!
HiMy requirements is that i need to get all jobid's and date and time of the job initiated. But iam able to get it. the thing is iam getting same date& time for all job's. Please see the code in below. foreach(@jobids){$workflow = new TeamSite::WFworkflow($_);$tasks = $workflow->GetTasks();foreach $task (@$tasks){$taskActivation = $task->GetActivationTime();$stDateTime = localtime($taskActivation);} print "Jobid". $_ ."Date& Time". $stDateTime}Iam appreciating for your helpThanks!