time.sunday? â true or false
Instance Public methods
Returns true
if time represents Sunday.
1 2 | t = Time .local( 1990 , 4 , 1 ) #=> 1990-04-01 00:00:00 -0600 t.sunday? #=> true |
Returns true
if time represents Sunday.
1 2 | t = Time .local( 1990 , 4 , 1 ) #=> 1990-04-01 00:00:00 -0600 t.sunday? #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.