time.mon â fixnum
time.month â fixnum
time.month â fixnum
Instance Public methods
Returns the month of the year (1..12) for time.
1 2 3 | t = Time .now #=> 2007-11-19 08:27:30 -0600 t.mon #=> 11 t.month #=> 11 |
Returns the month of the year (1..12) for time.
1 2 3 | t = Time .now #=> 2007-11-19 08:27:30 -0600 t.mon #=> 11 t.month #=> 11 |
Designed by : w10schools
service@w10schools.com
Please login to continue.