[jawsscripts] Re: SysGetDate in Microsoft Outlook

  • From: Chad Foster <chad.foster@xxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 13 Apr 2009 21:12:28 -0400

I am willing to bet that this function has been overwritten in
Outlook. Check out the following object pointer to the MS Calendar
object:

"MSCAL.Calendar"

You can instantiate your object pointer by using GetObject or
CreateObject just as with other libraries, and you can use the Month,
Day, and Year properties of this class.

HTH,

Chad


On 4/13/09, Sean Randall <seanr@xxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> Can anyone shed any light on a problem I am having with SysGetDate?
> Simply put, SysGetDate returns nothing whilst in Microsoft Outlook. With
> parameters or without, it returns an empty string.  I must admit I'd never
> tried to check the date in Outlook before now, and have modified my defaults
> to such an extent that the standards are unrecognisable, at least in that
> area.
>
> This thing first appeared in my Jawter (jaws-to-twitter) interface, which
> has proven quite popular.  It's not a major complaint, but the time of
> twitter updates as well as the text is announced, but in Outlook because I
> can't retrieve a value from SysGetDate I'm forced to leave off the relative
> time.  I'm now working on another time-based project (returning the time in
> any World City) and am encountering exactly the same issue when calculating
> my timestamps.
>
> Is this an old problem? Does anybody have a solution? Why Outlook? Why only
> Outlook? Where else?
>
> I've not encountered it in any other Office Applications - I'm using Outlook
> 2003.
>
> Thanks for any advice,
> Sean.
>
> "Fate. It protects fools, little children, and ships named Enterprise."
> William Riker.
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Chad Foster
Access Technology Solutions
Leveling The Playing Field Through Technology
http://www.GO-ATS.net
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: