From: Adam Bloom Date: 2006-05-07T03:19:10+09:00 Subject: Dumb question - how to get day/month names from a date? I can't for the life of me figure this one out. I know that the Date class has constants including MONTHNAMES and DAYNAMES, but I have no idea how to access them. day = Date.today Date.constants >["MONTHS", "ABBR_DAYS", "DAYNAMES", "ENGLAND", "DATE_FORMATS", "PARSE_DAYPAT", "ABBR_MONTHNAMES", "ABBR_MONTHS", "ITALY", "PARSE_MONTHPAT", "MONTHNAMES", "GREGORIAN", "DAYS", "ZONES", "ABBR_DAYNAMES", "JULIAN"] day.italy ># day.monthnames > NoMethodError: undefined method `monthnames' for # How do I access that constant? -Adam -- Posted via http://www.ruby-forum.com/.