Method: Time#month
- Defined in:
- lib/source/ruby.rb
#month ⇒ Object
call-seq:
time.mon -> integer
time.month -> integer
Returns the month of the year (1..12) for time.
t = Time.now #=> Tue Sep 23 2008 22:10:22 GMT-0400 (EDT)
t.month #=> 9
6566 6567 6568 |
# File 'lib/source/ruby.rb', line 6566 def month `this.__value__.getMonth()` end |