Method: DateTime#minute

Defined in:
ext/date/date_core.c

#minInteger

Returns the minute in range (0..59):

DateTime.new(2001, 2, 3, 4, 5, 6).min # => 5

Returns:

  • (Integer)


5597
5598
5599
5600
5601
5602
# File 'ext/date/date_core.c', line 5597

static VALUE
d_lite_min(VALUE self)
{
    get_d1(self);
    return INT2FIX(m_min(dat));
}