86
rated 0 times
[
91]
[
5]
/ answers: 1 / hits: 40191
/ 7 Years ago, mon, february 6, 2017, 12:00:00
i have successfully find the full name of month but i want short name of month. Can anyone help me. I am using Moment.js i have successfully find the month but i want in short form
here is my code :
var date = '<?php echo date(Y-m-d) ?>';
var Month = moment(date, 'YYY-MM-DD').format('DD/MMMM')
console.log(Month);
it returns me 06/February
, But i want 06/Feb
Thanks in advance :)
More From » jquery