Outlook stores no time information in the DateCompleted property. The time
element is always midnight on the completion date.
The simplest way to store a time element would be to use a custom form that
has a custom field and code behind the form to set the value of the field to
Now() when the item is marked complete. See
http://www.outlookcode.com/article.aspx?ID=38 for a primer on how to use the
PropertyChange event and set the value of a custom field.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"jodydavis1983" wrote:
> When i change the status in a task to "completed" it puts the date completed
> in the comlumn on the main window. But i would like for it to add the time
> automatically as well. Is this possible? Do i need to create some sort of
> custom field?