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 the other. -- Lew rauf qureshi wrote: > > 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 store date in > database in readable format. > so i used this. > > Lew wrote: > >> 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? >> >> rauf qureshi wrote: >>> >>> Thanks friends to comment. >>> >>> i [sic] have solved this problem just pass your string with 25\\10\\2012 >>> >>> John Coryat wrote: >>> >>>> or... switch to '-' instead... >>>> >>>> -John Coryat >>>> >>>> Harri Smått wrote: >>>> >>>>> >>>>> rauf quresh 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 presented escaped "\/" with >>>>> backslash and there's no way around this. But instead on server side you >>>>> should remove escape character by your JSON parser. >>>> >>>> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

