From: Ilias Ruby Date: 2007-09-19T23:14:44+09:00 Subject: Re: Week number Thanks Bertram! Bertram Scharpf wrote: > Hi, > > Am Mittwoch, 19. Sep 2007, 19:44:24 +0900 schrieb Ilias None: >> I’m newbie on Ruby and I like to know how I can manage to print out the >> week numbers(counting from monday or sunday). > > require "date" > d = Date.today > puts d.cwday, d.cweek, c.cwyear > > Bertram -- Posted via http://www.ruby-forum.com/.