d.year â integer
Instance Public methods
Returns the year.
1 2 | Date. new ( 2001 , 2 , 3 ).year #=> 2001 (Date. new ( 1 , 1 , 1 ) - 1 ).year #=> 0 |
Returns the year.
1 2 | Date. new ( 2001 , 2 , 3 ).year #=> 2001 (Date. new ( 1 , 1 , 1 ) - 1 ).year #=> 0 |
Designed by : w10schools
service@w10schools.com
Please login to continue.