mday() public

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

t = Time.now   #=> Wed Apr 09 08:56:03 CDT 2003
t.day          #=> 9
t.mday         #=> 9
Show source
Register or log in to add new notes.