Method: Time#hour
- Defined in:
- lib/source/ruby.rb
#hour ⇒ Object
call-seq:
time.hour -> integer
Returns the hour of the day (0..23) for time.
t = Time.now #=> Tue Sep 23 2008 22:10:22 GMT-0400 (EDT)
t.hour #=> 22
6415 6416 6417 |
# File 'lib/source/ruby.rb', line 6415 def hour `this._value.getHours()` end |