I have a table containing 2 dateTime columns ‘start date’ and ‘Endate’ ,I have passed the entire table to javascript using json,the format of data which I get when I access a particular date in the json table is dd/mm/yyyy (along with the default time),I need to get only date i.e dd and only month i.e mm from this format in javascript
Is there a way to do this ?
Date:
the_string.split('/')[0]Month:
the_string.split('/')[1]