It was an example showing that DateTime.AddHours does not modify the
instance that you call the method on, but rather returns a new instance of a
DateTime with the hours property has been adjusted accordingly.

-----Original Message-----
From: Jeff Roberts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 9:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] DateTime.AddHours does not work !


Sean,

I don't want to add 4 hours to Now, I want to add 4 hours to an older
DateTime !

Thanks,

jeff

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to