On Apr 05, 2007, at 9:35 AM, David Glass wrote:

> So is this why I see the following behavior:
>
> datCurrent = New Date <--01/01/07 for example
>
> datTemp = datCurrent
>
> datTemp.Month = datTemp.Month + 1
>
> After the last line both datCurrent and datTemp are set to 01/02/07
> (or 02/01/07 depending on settings)
>
> But if I do:
>
> datTemp.TotalSeconds = datCurrent.TotalSeconds
>
> instead of
>
> datTemp = datCurrent
>
> then only datTemp is 01/02/07, and datCurrent is still 01/01/07
>
> ?

You'd have to do

datCurrent = New Date <--01/01/07 for example
datTemp = new Date

datTemp.TotalSeconds = datCurrent.TotalSeconds
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to