time.monday? â true or false
Instance Public methods
Returns true
if time represents Monday.
1 2 | t = Time .local( 2003 , 8 , 4 ) #=> 2003-08-04 00:00:00 -0500 p t.monday? #=> true |
Returns true
if time represents Monday.
1 2 | t = Time .local( 2003 , 8 , 4 ) #=> 2003-08-04 00:00:00 -0500 p t.monday? #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.