Alaska Software Inc. - DateTime property
Username: Password:
AuthorTopic: DateTime property
Igor GolbrodskiyDateTime property
on Mon, 30 Jan 2017 15:15:06 +0200
Hi all.
I try to read property mailitem.creationTime from the Message of Outlook.Application (https://msdn.microsoft.com/en-us/library/office/ff867230.aspx).
But I read this property only as date.
How can I read the such properties from activex objects (date&time)?
Many thanks in advance...

---------------- 

Best regards, 

Igor Golobrodskiy 

WG SoftPro 

E-mail: i.golobrodskiy@wgsoftpro.com 

URL: http://www.wgsoftpro.com
Jim LeeRe: DateTime property
on Fri, 03 Feb 2017 06:50:04 +0100
>I try to read property mailitem.creationTime from the Message of 
>Outlook.Application
> (https://msdn.microsoft.com/en-us/library/office/ff867230.aspx).
>But I read this property only as date.
>How can I read the such properties from activex objects (date&time)?

METHOD MapiDetail:Read_CREDATE()  ReadOnly
    use :treatDateAsString( .T. ) -> YYMMDDHHMMSS
RETURN ::oItem:treatDateAsString( .T. ):getProperty( "CreationTime" )
Igor GolbrodskiyRe: DateTime property
on Thu, 09 Feb 2017 12:41:12 +0200
Many thanks Jim.
It works fine 

"Jim Lee" сообщил(а) в новостях 
следующее:509a8521$6a1ddebe$8ff00@news.alaska-software.com...

>I try to read property mailitem.creationTime from the Message of 
>Outlook.Application
> (https://msdn.microsoft.com/en-us/library/office/ff867230.aspx).
>But I read this property only as date.
>How can I read the such properties from activex objects (date&time)?

METHOD MapiDetail:Read_CREDATE()  ReadOnly
    use :treatDateAsString( .T. ) -> YYMMDDHHMMSS
RETURN ::oItem:treatDateAsString( .T. ):getProperty( "CreationTime" )