Method: DateTime#min
- Defined in:
- ext/date_ext/datetime.c
#min ⇒ Integer Also known as: minute
Returns the minute of the hour as an Integer. Example:
DateTime.civil(2009, 1, 2, 12, 13, 14).min
# => 13
1372 1373 1374 1375 1376 1377 |
# File 'ext/date_ext/datetime.c', line 1372 static VALUE rhrdt_min(VALUE self) { rhrdt_t *dt; Data_Get_Struct(self, rhrdt_t, dt); RHRDT_FILL_HMS(dt) return LONG2NUM(dt->minute); } |