Re: [android-developers] json format

2012-09-12 Thread Lew
Yeah, I got that part the first time around. It's a style thing. To me, storing locale-specific date parts are bad enough, but storing characters that aren't even part of a date format seems a tad beyond the pale. Whatever floats your boat, I guess. I don't guess the computer cares one way or

Re: [android-developers] json format

2012-09-12 Thread rauf qureshi
actually i am dealing with json and server, when i add parameter in json 25/10/2012 it become 25/\10/\2012. it goes on server and store there in data base as garbage so i need date in such format which store in data base in proper format that'sway when i send date 25\\10\\2012 in this format it st

Re: [android-developers] json format

2012-09-12 Thread Lew
What date format is that? Standard date formats that I know use dashes, forward slashes or no punctuation, not backslashes. But I don't know all date formats, so which one uses backslashes? -- Lew rauf qureshi wrote: > > Thanks friends to comment. > > i [sic] have solved this problem just

Re: [android-developers] json format

2012-09-12 Thread rauf qureshi
Thanks friends to comment. i have solved this problem just pass your string with 25\\10\\2012 On Wed, Sep 12, 2012 at 8:16 PM, John Coryat wrote: > or... switch to '-' instead... > > -John Coryat > > On Wednesday, September 12, 2012 9:12:40 AM UTC-5, Harri Smått wrote: > >> >> On Sep 12, 2012,

Re: [android-developers] json format

2012-09-12 Thread John Coryat
or... switch to '-' instead... -John Coryat On Wednesday, September 12, 2012 9:12:40 AM UTC-5, Harri Smått wrote: > > > On Sep 12, 2012, at 3:40 PM, rauf qureshi > > wrote: > > > > in above code when i send this request to server date automatic > converted into following format 25/\10/\2012

Re: [android-developers] json format

2012-09-12 Thread Harri Smått
On Sep 12, 2012, at 3:40 PM, rauf qureshi wrote: > > in above code when i send this request to server date automatic converted > into following format 25/\10/\2012 > can any body tell me how to send date on the server using json in 25/10/2012 > format. > It's the other way around. "/" is pre

[android-developers] json format

2012-09-12 Thread rauf qureshi
hello everyone, JSONObject json=new JSONObject(); json.put("date","25/10/2012"); in above code when i send this request to server date automatic converted into following format 25/\10/\2012 can any body tell me how to send date on the server using json in 25/10/2012 format. Thanks in advance