S
StupidDog
_ApplicationPtr pApp("Outlook.Application");
_NameSpacePtr pNameSpace = pApp->GetNamespace(L"MAPI");
MAPIFolderPtr pOutbox = pNameSpace->GetDefaultFolder(olFolderInbox);
_ItemsPtr pOutboxItems = pOutbox->Items;
_MailItemPtr pNewMail=pItems->GetFirst();
DATE date = pNewMail->GetReceivedTime();
i want read the receivedTime, i get the val is DATE type. but i don't know
how to change the val to time. like 2006-04-11 22:26
DATE type is double type, please help me!
_NameSpacePtr pNameSpace = pApp->GetNamespace(L"MAPI");
MAPIFolderPtr pOutbox = pNameSpace->GetDefaultFolder(olFolderInbox);
_ItemsPtr pOutboxItems = pOutbox->Items;
_MailItemPtr pNewMail=pItems->GetFirst();
DATE date = pNewMail->GetReceivedTime();
i want read the receivedTime, i get the val is DATE type. but i don't know
how to change the val to time. like 2006-04-11 22:26
DATE type is double type, please help me!