As one of my first 'things' to build with ruby (to help me learn the language) I wanted to make a calendar. Now I'm a designer that is fairly comfortable with coldfusion, so the process for a webapp is completely foreign to me.
My question is whether or not some functions exist or something comparative to them.
DayAsString() - this takes an integer, 1-7 and outputs Sunday - Saturday
MonthAsString() - this takes an integer, 1-12 and outputs January - December
DaysInMonth() - Takes an integer, 1-12 and returns total number of days in the specified month
Are there any functions in this vein?





Bookmarks