How to get to DateTime

D

DENNIS BROWN

Hi,
The scripting language I'm using is limited, and I can get the Outlook object, but not the Office object. Is there a way I can use the DateTime methods from the Outlook application object?
I'm still fuzzy on how to get from point A to point B with objects, so I hope I explained it enough. I can use oOutlook=GetObject("Outlook"), but getting the Office pointer that way causes problems in our application. Can I access DateTime from oOutlook?
 
S

Sue Mosher [MVP-Outlook]

I'm not sure what you mean by "DateTime methods" in this context. General functions to add, subtract, and parse dates would be features of your scripting language, not any Office application object model.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Hi,
The scripting language I'm using is limited, and I can get the Outlook object, but not the Office object. Is there a way I can use the DateTime methods from the Outlook application object?
I'm still fuzzy on how to get from point A to point B with objects, so I hope I explained it enough. I can use oOutlook=GetObject("Outlook"), but getting the Office pointer that way causes problems in our application. Can I access DateTime from oOutlook?
 
D

DENNIS BROWN

What I'm trying to access are the Weekday method, and I'd need to do the DateTime object, wouldn't I? Since my language doesn't have a date type, I was hoping to pass the oItem.Start property directly and see if that would give me the weekday. Would that be possible?

--

Thanks,
Dennis
I'm not sure what you mean by "DateTime methods" in this context. General functions to add, subtract, and parse dates would be features of your scripting language, not any Office application object model.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Hi,
The scripting language I'm using is limited, and I can get the Outlook object, but not the Office object. Is there a way I can use the DateTime methods from the Outlook application object?
I'm still fuzzy on how to get from point A to point B with objects, so I hope I explained it enough. I can use oOutlook=GetObject("Outlook"), but getting the Office pointer that way causes problems in our application. Can I access DateTime from oOutlook?
 
S

Sue Mosher [MVP-Outlook]

That's going to depend on your scripting language. You'll just have to try it and see.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


What I'm trying to access are the Weekday method, and I'd need to do the DateTime object, wouldn't I? Since my language doesn't have a date type, I was hoping to pass the oItem.Start property directly and see if that would give me the weekday. Would that be possible?


I'm not sure what you mean by "DateTime methods" in this context. General functions to add, subtract, and parse dates would be features of your scripting language, not any Office application object model.


Hi,
The scripting language I'm using is limited, and I can get the Outlook object, but not the Office object. Is there a way I can use the DateTime methods from the Outlook application object?
I'm still fuzzy on how to get from point A to point B with objects, so I hope I explained it enough. I can use oOutlook=GetObject("Outlook"), but getting the Office pointer that way causes problems in our application. Can I access DateTime from oOutlook?
 
Top