I am getting an error " 0x80041318 : The task XML contains a value which is incorrectly formatted or out of range " while registering a task in RegisterTaskDefinition(..) method attached the code snippet.
Getting error when I used the code pTimeTrigger-&gt;put_StartBoundary( _bstr_t(wTime));
When I had code the time values like pTimeTrigger-&gt;put_StartBoundary( _bstr_t(L"2014-02-18T15:46:00") ); error is not getting
Please advise how to use the time format
Thanks in advance.