In a message regarding Re: About the Date Class and the Language Reference
dated Mon, 30 Jan 2006 20:46:50 -0700, Joseph J. Strout said that ...
> It is, and it does. A great deal of effort went into making sure it
> works that way (well, except on the Mac, where such nice behavior is
> provided by the OS). If it's not documented, then this is an
> oversight in the documentation.
I you've got access to a Windows machine, try this.
Dim d As New Date
d.Month = d.Month - 12
MsgBox CStr(d.Year)
It gives me 2004
--
Steve Garman
Using REALbasic 2006r1 Professional on Windows XP Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|