Get the current year in Javascript
27 Sep 2012Was trying to figure out how to get the current year value ie. 2023 using Javascript. Below is the quickest way I could find to get it
$end_value = (new Date()).getFullYear() ;
Was trying to figure out how to get the current year value ie. 2023 using Javascript. Below is the quickest way I could find to get it
$end_value = (new Date()).getFullYear() ;
Data Engineeer, Business Analytics, Web Developer, Library Technology specialising in PHP and Tableau
Based in Melbourne, Australia
Feel free to contact me justin@kelly.org.au or _justin_kelly