![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
The year is displaying as 113 instead of 2013
I get a year from Date and use it on a page. This has always displayed as 2011, 2012 etc and it still displays 2013 in IE but is displaying in Firefox as 113.
I get a year from Date and use it on a page. This has always displayed as 2011, 2012 etc and it still displays 2013 in IE but is displaying in Firefox as 113.
Избрано решение
Thanks that worked perfectly.
Прочетете този отговор в контекста 👍 2Всички отговори (2)
Are you using getFullYear()? getYear was deprecated.
Избрано решение
Thanks that worked perfectly.