a guest Dec 7th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- var t = $(this).text();
- var day = t.substring(0,2);
- var month = t.substring(3,5);
- var year = t.substring(6,10);
- var eventDate = new Date(year, month-1, day);
RAW Paste Data