Start a new topic

How to deal with iOS dates in database?

This question is posted here because I am building a desktop app with the java api. The issue is that I dates stored in the back end in the form of NSdates. I need to be able to pull these out and modify them in a meaningful way and then store them again in a way that does not blow up my iOS app.



So my first guess is to just take the string and then convert it to a date for java? Change it and then convert it back to a string? Sounds painful wondering if there is a easier way.



Thanks,

Sean

That will work. Thanks for the reply!
Hi Sean, Did that help answer your question?
An alternative that comes to mind is writing a collection hook that changes the date field to a more portable format. Either way date formats are tedious because many platforms have used different standards.
Login or Signup to post a comment