I have a return result like this: o is :
dates [Object { date=12, day=4, hours=0, more...}]
JSONObject o=somefunction();
response.getWriter().write(o.toString());
and this response like [object Object]
but i need to this date format like "dd/mm/yyyy" format.
How i convert this value?