> On Jun 12, 2015, at 10:47 AM, Brendan Duddridge <[email protected]> wrote:
> 
> Ok. So I guess I'll store the date values in the dictionary as Unix epoch 
> dates (number of seconds since Jan 1, 1970) still and then convert before 
> being displayed. At least that should also work properly with sorting and 
> searching date ranges.

ISO-8601 dates also sort and compare properly, because they list the components 
in decreasing order and with leading zeroes. But numeric dates are 
significantly faster to parse. They’re not human-readable, though. It’s your 
choice :)

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/DBC73F67-3C54-4E88-8AD2-F0F56E2CC26E%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to