mday

time.mday â fixnum
Instance Public methods

Returns the day of the month (1..n) for time.

t = Time.now   #=> 2007-11-19 08:27:03 -0600
t.day          #=> 19
t.mday         #=> 19
doc_ruby_on_rails
2015-05-17 20:20:28
Comments
Leave a Comment

Please login to continue.