[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: how to get 1 month in the future

Luis Parravicini

1/8/2007 5:27:00 PM

On 1/8/07, shawn bright <nephish@gmail.com> wrote:
> This is as far as i have gotten so far. What i mostly need to know is, how
> do i get a datetime object
> that is 1 month from start ?

If you use a Date object, the >> and << operators are used to add /
substract months from that date.

luis