getYears
Without any param will start from 1850 till the current year
getYears()// [1850,1851,1852,1853,1854,1855,1856,...2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024]With param
getYears(2016) // [2016,2017,2018,2019,2020,2021,2022,2023,2024]getYears(2019,2023); //[2019,2020,2021,2022,2023]Last updated