I am trying to get the date with the first 2 digits removed i.e instead of "2012", I am trying to get "12". I have seen examples using slice and substr but cant seem to get them to work i this instance.
Any help would be much appreciated.
Below is one of many variations I have tried.
var currentTime = new Date();
var year = currentTime.getFullYear();
year = year.slice(-2);
alert(year);
North America
Europe, Middle East and Africa
Asia Pacific