A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get to DateTime



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 9th 07, 12:44 PM posted to microsoft.public.outlook.program_vba
DENNIS BROWN
external usenet poster
 
Posts: 51
Default How to get to DateTime

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?

--

Thanks,
Dennis
Ads
  #2  
Old August 9th 07, 02:37 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to get to DateTime

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


"DENNIS BROWN" wrote in message . ..
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?

--

Thanks,
Dennis
  #3  
Old August 9th 07, 05:01 PM posted to microsoft.public.outlook.program_vba
DENNIS BROWN
external usenet poster
 
Posts: 51
Default How to get to DateTime

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
"Sue Mosher [MVP-Outlook]" wrote in message ...
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


"DENNIS BROWN" wrote in message . ..
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?

--

Thanks,
Dennis
  #4  
Old August 9th 07, 08:29 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to get to DateTime

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


"DENNIS BROWN" wrote in message . ..
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?


"Sue Mosher [MVP-Outlook]" wrote in message ...
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.


"DENNIS BROWN" wrote in message . ..
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?

--

Thanks,
Dennis
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set default day to today for the DateTime Picker Capone2377 Outlook - Using Forms 0 February 3rd 06 07:53 PM


All times are GMT +1. The time now is 11:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.