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.