On Mon, Sep 1, 2014 at 2:19 PM, Louis-Martin Gagne <[email protected]> wrote:
> What is the best practice when it comes to storing dates? > Find a way to comply to the ISO-8601 (which isn't straightforward) or to > store this as a long value (eg. getTime()). Thoughts?? > Store as a long value. If you need to export the date to a human readable format, you can convert using java.text.DateFormat <http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html> within the client. Transferring and storing dates as Strings often leads to difficulty and confusion. ----------------- -Vinny P Technology & Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
