Date Constructor

For some reason the following,

leapday = Day.civil 1999, 2, 29

Throws an ‘invalid date’ exception.

Seems pretty straight forward and correct!

???

Sam

Nevermind. I feel stupid. I wish there was some way to delete posts.

Sam W. wrote:

For some reason the following,

leapday = Day.civil 1999, 2, 29

Throws an ‘invalid date’ exception.

Seems pretty straight forward and correct!

???

Sam

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs