Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var monthDate = new Date('2015/04/01');
- console.log('monthDate', monthDate);
- console.log('formatted', Highcharts.dateFormat('%b '%y', monthDate));
- monthDate Wed Apr 01 2015 00:00:00 GMT+0100 (BST)
- formatted Mar '15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement