You can use a JavaScript Date object:
var date = new Date(yearFromDb, monthFromDb, dayFromDb); date.toLocaleDateString();
EDIT
It seems that the above method is incompatible between different browsers (Chrome, IE, Firefox). Therefore, I think that your only option is to get a formatted date string from the server side.
Here is jsFiddle that shows a cross-browser way to get users locale if you can use it to get formatted date in current locale from backend (if any).
var locale = window.navigator.userLanguage || window.navigator.language;
source share