// javascript
var date1 = new Date('1/1/19');
var y = date1.getYear();
var fy = date1.getFullYear();
When I run the code I get (Windows 10, VS2015, MVC5, Jquery 3.3.1, Bootstrap 4.1:
y = '19'
fy = '1919'
Per spec I should get:
y = "119"
fy = "2019"
I did go to different web sites and I run the code above and I get the right result but not from my computer.
Can any one confirm this issue or is it just my computer issue?