This question already has answers here:
Specific to your requirement; you can pass
"en-GB" locale string as a first argument to
Store the date then extract the needed parts.
var someDate = new Date();
someDate.getDate() + "/" + (someDate.getMonth() + 1) + "/" + someDate.getFullYear()
If you are working with dates,
moment.js might be your best friend.
In your case: