I have string in the following format "30.11.2019". I need to transform it into a Date and get the short year representation (last 2 digits from year) like "19". The following code doesn't work
var strDate = new Date("30.11.2019");
var shortYear = strDate.getFullYear();