method

mon

v1_8_6_287 - Show latest stable - Class: Time
mon()
public

Returns the month of the year (1..12) for time.

   t = Time.now   #=> Wed Apr 09 08:56:03 CDT 2003
   t.mon          #=> 4
   t.month        #=> 4