Storing dates as integers in CouchDB/Cloudant -


i'm using ibm's cloudant (couchdb) data store. i'm planning on storing dates integers in format yyyymmdd instead of javascript dates. there couchdb functionality i'd missing out on not storing them javascript dates? other reason shouldn't this?

i've read q&a: what's best way store datetimes (timestamps) in couchdb? , there appears no objections storing dates in format. doesn't answer built-in functionality might lost.

you wouldn't losing functionality make date useful processing in map function either secondary index/view, search index or part of cloudant query.

the downside formatting them such, make more difficult on use javascript date functions modify date needs within map function.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -